#ifndef _WX_DCMEMORY_H_
#define _WX_DCMEMORY_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dcmemory.h"
#endif
wxMemoryDC( wxDC *dc ); // Create compatible DC
~wxMemoryDC(void);
virtual void SelectObject( const wxBitmap& bitmap );
- void GetSize( int *width, int *height ) const;
-
+ virtual void DoGetSize( int *width, int *height ) const;
+ wxBitmap GetSelectedObject() { return m_selected ; }
private:
- friend wxPaintDC;
wxBitmap m_selected;
};