compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -419,7 +419,7 @@ public:
|
|||||||
|
|
||||||
void CopyObject(wxObject& obj) const;
|
void CopyObject(wxObject& obj) const;
|
||||||
|
|
||||||
#ifdef WXWIN_COMPATIBILITY_2
|
#if WXWIN_COMPATIBILITY_2
|
||||||
bool Checked() const { return IsChecked(); }
|
bool Checked() const { return IsChecked(); }
|
||||||
#endif // WXWIN_COMPATIBILITY_2
|
#endif // WXWIN_COMPATIBILITY_2
|
||||||
|
|
||||||
|
@@ -23,7 +23,8 @@
|
|||||||
#define XIconifyWindow XICONIFYWINDOW
|
#define XIconifyWindow XICONIFYWINDOW
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/frame.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#include "wx/dialog.h"
|
#include "wx/dialog.h"
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
@@ -1248,15 +1249,5 @@ void wxFrameGTK::SetIconizeState(bool iconize)
|
|||||||
m_isIconized = iconize;
|
m_isIconized = iconize;
|
||||||
(void)SendIconizeEvent(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") );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -23,7 +23,8 @@
|
|||||||
#define XIconifyWindow XICONIFYWINDOW
|
#define XIconifyWindow XICONIFYWINDOW
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/frame.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#include "wx/dialog.h"
|
#include "wx/dialog.h"
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
@@ -1248,15 +1249,5 @@ void wxFrameGTK::SetIconizeState(bool iconize)
|
|||||||
m_isIconized = iconize;
|
m_isIconized = iconize;
|
||||||
(void)SendIconizeEvent(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