]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/dcscreen.h
use a virtual function instead of wxDynamicCast(wxMDIParentFrame) in wxFrame code...
[wxWidgets.git] / include / wx / gtk1 / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/dcscreen.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __GTKDCSCREENH__
11 #define __GTKDCSCREENH__
12
13 #include "wx/gtk1/dcclient.h"
14
15 //-----------------------------------------------------------------------------
16 // wxScreenDCImpl
17 //-----------------------------------------------------------------------------
18
19 class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxPaintDCImpl
20 {
21 public:
22 wxScreenDCImpl(wxScreenDC *owner);
23 virtual ~wxScreenDCImpl();
24
25 // implementation
26
27 static GdkWindow *sm_overlayWindow;
28 static int sm_overlayWindowX;
29 static int sm_overlayWindowY;
30
31 protected:
32 virtual void DoGetSize(int *width, int *height) const;
33
34 private:
35 DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
36 };
37
38 #endif // __GTKDCSCREENH__
39