]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcclient.h
Renamed internal GetClientWindow to GetClientAreaWindow so
[wxWidgets.git] / include / wx / msw / dcclient.h
index 6e665dc436d08ce384eca36ff4a643d8252e02e2..ccf5927bf2e01091cf926c57d87997c5ada4b675 100644 (file)
@@ -49,6 +49,9 @@ protected:
     // intiialize the newly created DC
     void InitDC();
 
     // 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)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxWindowDC)
 };
@@ -62,11 +65,19 @@ public:
     // Create a DC corresponding to the client area of the window
     wxClientDC(wxWindow *win);
 
     // 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)
 };
 
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
 
-class WXDLLEXPORT wxPaintDC : public wxWindowDC
+class WXDLLEXPORT wxPaintDC : public wxClientDC
 {
 public:
     wxPaintDC();
 {
 public:
     wxPaintDC();