]> git.saurik.com Git - wxWidgets.git/commitdiff
font updates
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 1 Dec 2007 05:21:11 +0000 (05:21 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 1 Dec 2007 05:21:11 +0000 (05:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp
src/generic/treectlg.cpp

index 3a7a7bbdbbf2482dc0f2db1fdfcfa20e8f68d9a8..a5b504235f51f4e8e13e38253b259cc18e0a5658 100644 (file)
@@ -5026,7 +5026,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent,
     if ( GetWindowVariant() == wxWINDOW_VARIANT_NORMAL )
     {
         wxFont font;
-        font.MacCreateThemeFont( kThemeViewsFont );
+        font.MacCreateFromThemeFont( kThemeViewsFont );
         SetFont( font );
     }
 #endif
@@ -5039,7 +5039,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent,
         if (m_headerWin)
         {
             wxFont font;
-            font.MacCreateThemeFont( kThemeSmallSystemFont );
+            font.MacCreateFromThemeFont( kThemeSmallSystemFont );
             m_headerWin->SetFont( font );
             CalculateAndSetHeaderHeight();
         }
index d28e2bc4b90a7b8d50d7d016b6f38c962bbce334..f4f6800fa7502b516e383fedd10bd03dd44cacbd 100644 (file)
@@ -791,7 +791,7 @@ void wxGenericTreeCtrl::Init()
     m_lastOnSame = false;
 
 #ifdef __WXMAC__
-    m_normalFont.MacCreateThemeFont( kThemeViewsFont ) ;
+    m_normalFont.MacCreateFromThemeFont( kThemeViewsFont ) ;
 #else
     m_normalFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );
 #endif