]> 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 cf91c11961f56365a05127c8434c1740f475c8c8..02afe5be8aa054fc9687d6592bb6b2632ff9d285 100644 (file)
@@ -116,8 +116,9 @@ protected:
     void ResizeGripper();
 
 private:
-    wxWindow*   m_oldFocus;
-    bool        m_endModalCalled; // allow for closing within InitDialog
+    // this function is used to adjust Z-order of new children relative to the
+    // gripper if we have one
+    void OnWindowCreate(wxWindowCreateEvent& event);
 
 #if wxUSE_TOOLBAR && defined(__POCKETPC__)
     wxToolBar*  m_dialogToolBar;
@@ -130,7 +131,7 @@ private:
     WXHWND m_hGripper;
 
     DECLARE_DYNAMIC_CLASS(wxDialog)
-    DECLARE_NO_COPY_CLASS(wxDialog)
+    wxDECLARE_NO_COPY_CLASS(wxDialog);
 };
 
 #endif