initialize m_hasXXX in wxWindowBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,6 +134,11 @@ void wxWindowBase::InitBase()
|
|||||||
m_font = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
|
m_font = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
|
||||||
#endif // __WXMSW__
|
#endif // __WXMSW__
|
||||||
|
|
||||||
|
// the colours/fonts are default for now
|
||||||
|
m_hasBgCol =
|
||||||
|
m_hasFgCol =
|
||||||
|
m_hasFont = FALSE;
|
||||||
|
|
||||||
// no style bits
|
// no style bits
|
||||||
m_exStyle =
|
m_exStyle =
|
||||||
m_windowStyle = 0;
|
m_windowStyle = 0;
|
||||||
|
@@ -135,11 +135,6 @@ bool wxWindow::Create(wxWindow *parent,
|
|||||||
PositionScrollbars();
|
PositionScrollbars();
|
||||||
}
|
}
|
||||||
|
|
||||||
// the colours/fonts are default
|
|
||||||
m_hasBgCol =
|
|
||||||
m_hasFgCol =
|
|
||||||
m_hasFont = FALSE;
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user