projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mingw32 compilation fixes
[wxWidgets.git]
/
src
/
msw
/
dialog.cpp
diff --git
a/src/msw/dialog.cpp
b/src/msw/dialog.cpp
index 764e4518a1539b2c693c0ace02da65c99a61ab35..0ded488a510711f199ee29a208518f58901dae34 100644
(file)
--- a/
src/msw/dialog.cpp
+++ b/
src/msw/dialog.cpp
@@
-474,7
+474,9
@@
bool wxDialog::Show(bool show)
if (hWndParent)
::BringWindowToTop(hWndParent);
}
- ShowWindow((HWND) GetHWND(), SW_HIDE);
+
+ if ( m_hWnd )
+ ShowWindow((HWND) GetHWND(), SW_HIDE);
}
}
return TRUE;