Added Set/GetThemeEnabled and used this for determining whether to paint a theme
background. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -449,6 +449,7 @@ void wxFrame::Init()
|
||||
m_insertInClientArea = TRUE;
|
||||
m_isIconized = FALSE;
|
||||
m_fsIsShowing = FALSE;
|
||||
m_themeEnabled = TRUE;
|
||||
}
|
||||
|
||||
bool wxFrame::Create( wxWindow *parent,
|
||||
@@ -1177,8 +1178,9 @@ void wxFrame::Maximize(bool WXUNUSED(maximize))
|
||||
|
||||
bool wxFrame::IsMaximized() const
|
||||
{
|
||||
wxFAIL_MSG( _T("not implemented") );
|
||||
// wxFAIL_MSG( _T("not implemented") );
|
||||
|
||||
// This is an approximation
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user