]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcclient.h
Added a Python-specific Append method to the wxListCtrl
[wxWidgets.git] / include / wx / msw / dcclient.h
index 6e665dc436d08ce384eca36ff4a643d8252e02e2..ccf5927bf2e01091cf926c57d87997c5ada4b675 100644 (file)
@@ -49,6 +49,9 @@ protected:
     // intiialize the newly created DC
     void InitDC();
 
+    // override some base class virtuals
+    virtual void DoGetSize(int *width, int *height) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxWindowDC)
 };
@@ -62,11 +65,19 @@ public:
     // Create a DC corresponding to the client area of the window
     wxClientDC(wxWindow *win);
 
+    virtual ~wxClientDC();
+
+protected:
+    void InitDC();
+
+    // override some base class virtuals
+    virtual void DoGetSize(int *width, int *height) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
 
-class WXDLLEXPORT wxPaintDC : public wxWindowDC
+class WXDLLEXPORT wxPaintDC : public wxClientDC
 {
 public:
     wxPaintDC();