]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
reformatted to fit in the page width
[wxWidgets.git] / src / msw / mdi.cpp
index d3f3e1e8f2d1d272338c9010c4ed0848c6feeaaa..1d295a13dcb10a951a30447952dd3d1e432420b8 100644 (file)
@@ -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 )