]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dcscreen.h
Don't accept focus in the dummy main generic spin control window.
[wxWidgets.git] / include / wx / dcscreen.h
CommitLineData
99d80019
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/dcscreen.h
3// Purpose: wxScreenDC base header
4// Author: Julian Smart
5// Modified by:
6// Created:
7// Copyright: (c) Julian Smart
8// RCS-ID: $Id$
9// Licence: wxWindows Licence
10/////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_DCSCREEN_H_BASE_
13#define _WX_DCSCREEN_H_BASE_
c801d85f 14
e45689df 15#include "wx/defs.h"
ab171e95
RR
16#include "wx/dc.h"
17
888dde65 18class WXDLLIMPEXP_CORE wxScreenDC : public wxDC
ab171e95
RR
19{
20public:
21 wxScreenDC();
22
4f37154e
RR
23 static bool StartDrawingOnTop(wxWindow * WXUNUSED(window))
24 { return true; }
25 static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL)
26 { return true; }
03647350 27 static bool EndDrawingOnTop()
4f37154e
RR
28 { return true; }
29
ab171e95
RR
30private:
31 DECLARE_DYNAMIC_CLASS(wxScreenDC)
32};
33
c8ddadff 34
c801d85f 35#endif
34138703 36 // _WX_DCSCREEN_H_BASE_