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:
Václav Slavík
2004-09-29 21:07:48 +00:00
parent e768548a12
commit 2596e9fb2c
2 changed files with 21 additions and 2 deletions

View File

@@ -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()