]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dcscreen.h
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / include / wx / dcscreen.h
... / ...
CommitLineData
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
12#ifndef _WX_DCSCREEN_H_BASE_
13#define _WX_DCSCREEN_H_BASE_
14
15#include "wx/defs.h"
16#include "wx/dc.h"
17
18class WXDLLIMPEXP_CORE wxScreenDC : public wxDC
19{
20public:
21 wxScreenDC();
22
23 static bool StartDrawingOnTop(wxWindow * WXUNUSED(window))
24 { return true; }
25 static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL)
26 { return true; }
27 static bool EndDrawingOnTop()
28 { return true; }
29
30private:
31 DECLARE_DYNAMIC_CLASS(wxScreenDC)
32};
33
34
35#endif
36 // _WX_DCSCREEN_H_BASE_