X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7dda1ffa3db91707f2a554fc3c8dffa34e0e510..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/msw/mdi.cpp?ds=sidebyside diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index d3f3e1e8f2..1d295a13dc 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -206,8 +206,8 @@ bool wxMDIParentFrame::Create(wxWindow *parent, else m_windowId = NewControlId(); - long exflags; - long msflags = MSWGetCreateWindowFlags(&exflags); + WXDWORD exflags; + WXDWORD msflags = MSWGetCreateWindowFlags(&exflags); if ( !wxWindow::MSWCreate(wxMDIFrameClassName, title, @@ -245,7 +245,7 @@ wxMDIParentFrame::~wxMDIParentFrame() if ( m_hMenu ) { ::DestroyMenu((HMENU)m_hMenu); - m_hMenu = NULL; + m_hMenu = (WXHMENU)NULL; } if ( m_clientWindow )