X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7dda1ffa3db91707f2a554fc3c8dffa34e0e510..142b3bc26a6e93f5857bc053c7748b2c845c4a8e:/src/msw/mdi.cpp 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 )