]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcclient.h
superposition of text styles in wxTextCtrl now works as expected (and as documented)
[wxWidgets.git] / include / wx / msw / dcclient.h
index 6e665dc436d08ce384eca36ff4a643d8252e02e2..0c2cca05858a4d1aaca46b02379735e1e9c4d0a6 100644 (file)
@@ -62,11 +62,16 @@ public:
     // Create a DC corresponding to the client area of the window
     wxClientDC(wxWindow *win);
 
+    virtual ~wxClientDC();
+
+protected:
+    void InitDC();
+
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
 
-class WXDLLEXPORT wxPaintDC : public wxWindowDC
+class WXDLLEXPORT wxPaintDC : public wxClientDC
 {
 public:
     wxPaintDC();