X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98a02e87ad44d233e8a85a874e62e3b2ca467f61..2d17efa94e68c37fb415cf530daa558692ab7c2d:/src/msw/frame.cpp diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 06e51b1f68..395a6602e1 100644 --- 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