projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't include wx/popupwin.h in the header, use forward declarations
[wxWidgets.git]
/
src
/
msw
/
frame.cpp
diff --git
a/src/msw/frame.cpp
b/src/msw/frame.cpp
index 06e51b1f688e4bd11f4a7211d0ed031eba36e3b1..395a6602e1768716c9bd4b9a16c2f102bbc665ca 100644
(file)
--- a/
src/msw/frame.cpp
+++ b/
src/msw/frame.cpp
@@
-169,6
+169,10
@@
IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
void wxFrame::Init()
{
+#if wxUSE_MENUS
+ m_hMenu = NULL;
+#endif // wxUSE_MENUS
+
#if wxUSE_TOOLTIPS
m_hwndToolTip = 0;
#endif