]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcscreen.h
added IsSizeDeferred() (part of patch 1199639)
[wxWidgets.git] / include / wx / gtk / dcscreen.h
index b53d12c8a8e38ffd9916590d932a9028f8c23a8b..3b23ae32046a2a3b41b32ab49b77b09e09c670a7 100644 (file)
 // classes
 //-----------------------------------------------------------------------------
 
-class wxScreenDC;
+class WXDLLIMPEXP_CORE wxScreenDC;
 
 //-----------------------------------------------------------------------------
 // wxScreenDC
 //-----------------------------------------------------------------------------
 
-class wxScreenDC: public wxPaintDC
+class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC
 {
-  DECLARE_DYNAMIC_CLASS(wxScreenDC)
-
 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