fixed flicker during MDI children creation: the frame is now created hidden and shown in idle time to maintain backward compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,6 +174,8 @@ public:
|
||||
bool ResetWindowStyle(void *vrect);
|
||||
|
||||
void OnIdle(wxIdleEvent& event);
|
||||
|
||||
virtual bool Show(bool show = true);
|
||||
|
||||
protected:
|
||||
virtual void DoGetPosition(int *x, int *y) const;
|
||||
@@ -187,6 +189,7 @@ protected:
|
||||
void Init();
|
||||
|
||||
private:
|
||||
bool m_needsInitialShow; // Show must be called in idle time after Creation
|
||||
bool m_needsResize; // flag which tells us to artificially resize the frame
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
Reference in New Issue
Block a user