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:
Julian Smart
2000-09-15 13:15:37 +00:00
parent 117247fd2c
commit a2d93e735a
13 changed files with 54 additions and 8 deletions

View File

@@ -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;
}