I don't understand the SetIconState code in /src/frome.cpp, but

I know it is wrong. This also caused the splitter window bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-06-14 16:15:29 +00:00
parent 6c28fd3379
commit f94fca1b74
4 changed files with 28 additions and 6 deletions

View File

@@ -448,7 +448,7 @@ void wxFrame::Init()
m_toolBarDetached = FALSE;
m_insertInClientArea = TRUE;
m_isFrame = TRUE;
m_isIconized = TRUE;
m_isIconized = FALSE;
m_fsIsShowing = FALSE;
m_themeEnabled = TRUE;
}
@@ -1228,7 +1228,11 @@ void wxFrame::SetIconizeState(bool iconize)
{
// this is not supposed to happen if we're called only from
// gtk_frame_(un)map_callback!
wxFAIL_MSG( _T("unexpected call to SendIconizeEvent ignored") );
// RR: I don't understand this test. Upon startup, the frame is
// not iconized by default, it has just not been created
// yet.
///wxFAIL_MSG( _T("unexpected call to SendIconizeEvent ignored") );
}
}