Create wxPopUpWindow hidden initially (like MSW, where

this happens since it derives from wxTLW, I think).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2005-03-25 17:23:08 +00:00
parent 2539aa882d
commit da19de3613
2 changed files with 6 additions and 0 deletions

View File

@ -181,6 +181,9 @@ bool wxPopupWindow::Create( wxWindow *parent, int style )
return FALSE; return FALSE;
} }
// Unlike windows, top level windows are created hidden by default.
m_isShown = false;
// All dialogs should really have this style // All dialogs should really have this style
m_windowStyle |= wxTAB_TRAVERSAL; m_windowStyle |= wxTAB_TRAVERSAL;

View File

@ -181,6 +181,9 @@ bool wxPopupWindow::Create( wxWindow *parent, int style )
return FALSE; return FALSE;
} }
// Unlike windows, top level windows are created hidden by default.
m_isShown = false;
// All dialogs should really have this style // All dialogs should really have this style
m_windowStyle |= wxTAB_TRAVERSAL; m_windowStyle |= wxTAB_TRAVERSAL;