// wxScreenDC
//-----------------------------------------------------------------------------
-class wxScreenDC: public wxPaintDC
+class 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