Use system default font for all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -123,12 +123,12 @@ void wxWindowBase::InitBase()
|
|||||||
// m_foregroundColour = *wxBLACK; // TODO take this from sys settings too?
|
// m_foregroundColour = *wxBLACK; // TODO take this from sys settings too?
|
||||||
m_foregroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOWTEXT);
|
m_foregroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOWTEXT);
|
||||||
|
|
||||||
#if !defined(__WXMAC__) && !defined(__WXGTK__)
|
// GRG, changed Mar/2000
|
||||||
|
#if 0 // !defined(__WXMAC__) && !defined(__WXGTK__)
|
||||||
m_font = *wxSWISS_FONT; // and this?
|
m_font = *wxSWISS_FONT; // and this?
|
||||||
#else
|
#else
|
||||||
m_font = settings.GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
|
m_font = settings.GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// no style bits
|
// no style bits
|
||||||
m_exStyle =
|
m_exStyle =
|
||||||
m_windowStyle = 0;
|
m_windowStyle = 0;
|
||||||
|
Reference in New Issue
Block a user