Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1:/tmp/cvs-serv24717/src/modules

Modified Files:
        TextViewer.cpp 
Log Message:
compilation fix for MTextStyle problems

Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -u -2 -r1.37 -r1.38
--- TextViewer.cpp      22 Nov 2002 21:36:31 -0000      1.37
+++ TextViewer.cpp      30 Nov 2002 22:26:39 -0000      1.38
@@ -495,5 +495,5 @@
    const ProfileValues& profileValues = GetOptions();
 
-   wxTextAttr attr(profileValues.HeaderNameCol);
+   MTextStyle attr(profileValues.HeaderNameCol);
    wxFont font = m_window->GetFont();
    font.SetWeight(wxFONTWEIGHT_BOLD);
@@ -516,5 +516,5 @@
       col = profileValues.FgCol;
 
-   wxTextAttr attr(col);
+   MTextStyle attr(col);
    if ( encoding != wxFONTENCODING_SYSTEM )
    {
@@ -534,5 +534,5 @@
 void TextViewer::EndHeader()
 {
-   InsertText("\n", wxTextAttr());
+   InsertText("\n", MTextStyle());
 }
 



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to