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