]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected creation of wxNORMAL_FONT for Mac OS
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 20 Jan 2001 19:35:18 +0000 (19:35 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 20 Jan 2001 19:35:18 +0000 (19:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/gdicmn.cpp

index d9431063ef60c6393de70c75ce627130f8c57b8a..a9481d6f49b51fd8269cecfcc98153f916ae6353 100644 (file)
@@ -381,7 +381,7 @@ void wxInitializeStockObjects ()
 #else
 #endif
 */
-#if defined(__WXPM__)
+#if defined(__WXPM__) || defined(__WXMAC__)
   static const int sizeFont = 12;
   wxNORMAL_FONT = new wxFont (sizeFont, wxMODERN, wxNORMAL, wxNORMAL);
 #else