]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
wxMac completed so far, generic listctrl extension
[wxWidgets.git] / src / common / wincmn.cpp
index 26181e21b21c92728be9f5e1a50e669c9a113acd..a9f702acfd5302368338b0a670741d31e061be9d 100644 (file)
@@ -119,8 +119,11 @@ void wxWindowBase::InitBase()
 
     m_backgroundColour = settings.GetSystemColour(wxSYS_COLOUR_BTNFACE);
     m_foregroundColour = *wxBLACK;  // TODO take this from sys settings too?
+#ifndef __WXMAC__
     m_font = *wxSWISS_FONT;         //      and this?
-
+#else
+       m_font = settings.GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
+#endif
     // no style bits
     m_windowStyle = 0;