]> git.saurik.com Git - wxWidgets.git/blob - src/cocoa/dcmemory.cpp
make string at least empty (instead of containing garbage) if malloc() failed
[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 void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
35 {
36 }
37
38 void wxMemoryDC::DoGetSize( int *width, int *height ) const
39 {
40 }
41