]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dcscreen.h
Added project files for wxUniv under MSW
[wxWidgets.git] / include / wx / gtk1 / dcscreen.h
index b53d12c8a8e38ffd9916590d932a9028f8c23a8b..b1cc81a7e6ed9e971b561cefd86b502726adc914 100644 (file)
@@ -22,23 +22,27 @@ class wxScreenDC;
 // wxScreenDC
 //-----------------------------------------------------------------------------
 
 // wxScreenDC
 //-----------------------------------------------------------------------------
 
-class wxScreenDC: public wxPaintDC
+class wxScreenDC : public wxPaintDC
 {
 {
-  DECLARE_DYNAMIC_CLASS(wxScreenDC)
-
 public:
 public:
-  wxScreenDC();
-  ~wxScreenDC();
+    wxScreenDC();
+    virtual ~wxScreenDC();
+
+    static bool StartDrawingOnTop( wxWindow *window );
+    static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
+    static bool EndDrawingOnTop();
+
+    // implementation
 
 
-  static bool StartDrawingOnTop( wxWindow *window );
-  static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
-  static bool EndDrawingOnTop();
+    static GdkWindow  *sm_overlayWindow;
+    static int         sm_overlayWindowX;
+    static int         sm_overlayWindowY;
 
 
-  // implementation
+protected:
+    virtual void DoGetSize(int *width, int *height) const;
 
 
-  static GdkWindow  *sm_overlayWindow;
-  static int         sm_overlayWindowX;
-  static int         sm_overlayWindowY;
+private:
+    DECLARE_DYNAMIC_CLASS(wxScreenDC)
 };
 
 #endif
 };
 
 #endif