compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
#define XIconifyWindow XICONIFYWINDOW
|
||||
#endif
|
||||
|
||||
#include "wx/frame.h"
|
||||
#include "wx/defs.h"
|
||||
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/control.h"
|
||||
#include "wx/app.h"
|
||||
@@ -1248,15 +1249,5 @@ void wxFrameGTK::SetIconizeState(bool iconize)
|
||||
m_isIconized = iconize;
|
||||
(void)SendIconizeEvent(iconize);
|
||||
}
|
||||
else
|
||||
{
|
||||
// this is not supposed to happen if we're called only from
|
||||
// gtk_frame_(un)map_callback!
|
||||
|
||||
// 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") );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user