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

Modified Files:
        BareBonesEditor.cpp 
Log Message:
Custom font handling moved to Create

Index: BareBonesEditor.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/BareBonesEditor.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -u -2 -r1.7 -r1.8
--- BareBonesEditor.cpp 1 Sep 2003 15:35:31 -0000       1.7
+++ BareBonesEditor.cpp 1 Sep 2003 16:35:07 -0000       1.8
@@ -828,19 +828,4 @@
    m_textControl->Clear();
    m_textControl->DiscardEdits();
-
-   Options& options = (Options &)GetOptions();     // const_cast
-
-   wxFont font;
-   if ( !options.m_font.empty() )
-   {
-      wxNativeFontInfo fontInfo;
-      if ( fontInfo.FromString(options.m_font) )
-      {
-         font.SetNativeFontInfo(fontInfo);
-      }
-   }
-
-   if ( font.Ok() )
-      m_textControl->SetFont(font);
 }
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to