]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcscreen.h
added CreateByName(), use it in wxColourDatabase
[wxWidgets.git] / include / wx / gtk / dcscreen.h
index 64f1dfc6ac126ba47f679fc90dde193fe96bb3af..b1cc81a7e6ed9e971b561cefd86b502726adc914 100644 (file)
@@ -22,22 +22,25 @@ class wxScreenDC;
 // wxScreenDC
 //-----------------------------------------------------------------------------
 
-class wxScreenDC: public wxPaintDC
+class wxScreenDC : public wxPaintDC
 {
 public:
     wxScreenDC();
-    ~wxScreenDC();
+    virtual ~wxScreenDC();
 
     static bool StartDrawingOnTop( wxWindow *window );
     static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
     static bool EndDrawingOnTop();
 
     // implementation
-    
+
     static GdkWindow  *sm_overlayWindow;
     static int         sm_overlayWindowX;
     static int         sm_overlayWindowY;
-  
+
+protected:
+    virtual void DoGetSize(int *width, int *height) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxScreenDC)
 };