]> git.saurik.com Git - wxWidgets.git/blob - src/cocoa/dcmemory.cpp
Implemented wxDC stack with focus locking and unlocking
[wxWidgets.git] / src / cocoa / dcmemory.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/cocoa/dcmemory.cpp
3 // Purpose: wxMemoryDC class
4 // Author: David Elliott
5 // Modified by:
6 // Created: 2003/03/16
7 // RCS-ID: $Id:
8 // Copyright: (c) 2002 David Elliott
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #include "wx/dcmemory.h"
13
14 //-----------------------------------------------------------------------------
15 // wxMemoryDC
16 //-----------------------------------------------------------------------------
17
18 IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC,wxDC)
19
20 wxMemoryDC::wxMemoryDC(void)
21 {
22 m_ok = false;
23 };
24
25 wxMemoryDC::wxMemoryDC( wxDC *WXUNUSED(dc) )
26 {
27 m_ok = false;
28 };
29
30 wxMemoryDC::~wxMemoryDC(void)
31 {
32 }
33
34 bool wxMemoryDC::CocoaLockFocus()
35 {
36 return false;
37 }
38
39 bool wxMemoryDC::CocoaUnlockFocus()
40 {
41 return false;
42 }
43
44 void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
45 {
46 }
47
48 void wxMemoryDC::DoGetSize( int *width, int *height ) const
49 {
50 }
51