projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
invalidate best size cache when GTK style changes
[wxWidgets.git]
/
src
/
msw
/
popupwin.cpp
diff --git
a/src/msw/popupwin.cpp
b/src/msw/popupwin.cpp
index fbe5ad21fbcc156a45dda4da88186c7227dc0bc6..aa340cdc9f8ec9a81db917d6f08737fb6c02d94b 100644
(file)
--- a/
src/msw/popupwin.cpp
+++ b/
src/msw/popupwin.cpp
@@
-46,6
+46,9
@@
IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
bool wxPopupWindow::Create(wxWindow *parent, int flags)
{
+ // popup windows are created hidden by default
+ Hide();
+
return wxPopupWindowBase::Create(parent) &&
wxWindow::Create(parent, -1,
wxDefaultPosition, wxDefaultSize,