]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dc.h
allocate HPEN on demand instead of doing every time a pen property is modified; also...
[wxWidgets.git] / include / wx / gtk / dc.h
index ea4b5b3e88f3cec0018d61ac13b4bde8a8ea4e21..a778ba23db3c0dfec6e7047f8ce170618b9c1c65 100644 (file)
@@ -70,7 +70,7 @@ class WXDLLIMPEXP_CORE wxDC : public wxDCBase
 {
 public:
     wxDC();
-    ~wxDC() { }
+    virtual ~wxDC() { }
 
 #if wxUSE_PALETTE
     void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };
@@ -94,6 +94,9 @@ public:
 
     virtual void ComputeScaleAndOrigin();
 
+    virtual GdkWindow* GetGDKWindow() const { return NULL; }
+    virtual wxBitmap GetSelectedBitmap() const { return wxNullBitmap; }        
+
 protected:
     // implementation
     // --------------