]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dc.h
Last part from weak ref patch for event sink disconnection
[wxWidgets.git] / include / wx / x11 / dc.h
index 595126236cecadf14255460120f0d98b4a4ae49f..af0a97e96c638d0b86b2080b0c2d94eb3bf23da8 100644 (file)
 // wxDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDC : public wxDCBase
+class WXDLLEXPORT wxX11DCImpl : public wxDCImpl
 {
 public:
-    wxDC();
-    virtual ~wxDC() { }
-
-    // implement base class pure virtuals
-    // ----------------------------------
+    wxX11DCImpl( wxDC *owner );
+    virtual ~wxX11DCImpl() { }
 
     virtual wxSize GetPPI() const;
 
@@ -49,7 +46,7 @@ protected:
     wxCoord YLOG2DEVREL(wxCoord y) const    { return LogicalToDeviceYRel(y); }
 
 private:
-    DECLARE_ABSTRACT_CLASS(wxDC)
+    DECLARE_CLASS(wxX11DCImpl)
 };
 
 #endif