]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dialog.h
fix memory leak; allocate the DC before SetFont() is called on the status bar
[wxWidgets.git] / include / wx / msw / dialog.h
index c53c8b7426243b7aab3e8029607a21142b908a63..02afe5be8aa054fc9687d6592bb6b2632ff9d285 100644 (file)
@@ -120,8 +120,6 @@ private:
     // gripper if we have one
     void OnWindowCreate(wxWindowCreateEvent& event);
 
-    bool        m_endModalCalled; // allow for closing within InitDialog
-
 #if wxUSE_TOOLBAR && defined(__POCKETPC__)
     wxToolBar*  m_dialogToolBar;
 #endif
@@ -133,7 +131,7 @@ private:
     WXHWND m_hGripper;
 
     DECLARE_DYNAMIC_CLASS(wxDialog)
-    DECLARE_NO_COPY_CLASS(wxDialog)
+    wxDECLARE_NO_COPY_CLASS(wxDialog);
 };
 
 #endif