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:
parent
2539aa882d
commit
da19de3613
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user