]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/dcscreen.h
Don't send selection events for an already selected item in wxMSW wxListBox.
[wxWidgets.git] / include / wx / mgl / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcscreen.h
3 // Purpose:
4 // Author: Vaclav Slavik
5 // Id: $Id$
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __WX_DCSCREEN_H__
11 #define __WX_DCSCREEN_H__
12
13 #include "wx/dcclient.h"
14
15 //-----------------------------------------------------------------------------
16 // classes
17 //-----------------------------------------------------------------------------
18
19 class WXDLLIMPEXP_FWD_CORE wxScreenDC;
20
21 //-----------------------------------------------------------------------------
22 // wxScreenDC
23 //-----------------------------------------------------------------------------
24
25 class WXDLLIMPEXP_CORE wxScreenDC: public wxDC
26 {
27 public:
28 wxScreenDC();
29 virtual ~wxScreenDC();
30
31 static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
32 static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }
33 static bool EndDrawingOnTop() { return TRUE; }
34
35 private:
36 DECLARE_DYNAMIC_CLASS(wxScreenDC)
37 };
38
39 #endif
40
41 // __WX_DCSCREEN_H__
42