]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/dcclient.h
compilation fix for recent commit
[wxWidgets.git] / include / wx / os2 / dcclient.h
index f0d686183086f6afbab2078e81b15366f784f1ff..351e993888681b531f478b1173155b19726a3ba0 100644 (file)
@@ -52,15 +52,18 @@ class WXDLLEXPORT wxClientDC : public wxWindowDC
 {
 public:
     wxClientDC();
+    virtual ~wxClientDC();
 
-    // Create a DC corresponding to the client area of the window
     wxClientDC(wxWindow *win);
 
+protected:
+    void InitDC(void);
+
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 }; // end of CLASS wxClientDC
 
-class WXDLLEXPORT wxPaintDC : public wxWindowDC
+class WXDLLEXPORT wxPaintDC : public wxClientDC
 {
 public:
     wxPaintDC();