X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..687b91d266990129fbbb8c21d92fa4298b458352:/include/wx/mac/carbon/dcmemory.h diff --git a/include/wx/mac/carbon/dcmemory.h b/include/wx/mac/carbon/dcmemory.h index b5103a8e6e..cc6d459e54 100644 --- a/include/wx/mac/carbon/dcmemory.h +++ b/include/wx/mac/carbon/dcmemory.h @@ -19,11 +19,12 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC DECLARE_DYNAMIC_CLASS(wxMemoryDC) public: - wxMemoryDC(void); + wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap ); wxMemoryDC( wxDC *dc ); // Create compatible DC - ~wxMemoryDC(void); + virtual ~wxMemoryDC(void); virtual void SelectObject( const wxBitmap& bitmap ); - wxBitmap GetSelectedObject() { return m_selected ; } + wxBitmap GetSelectedBitmap() { return m_selected ; } + wxBitmap GetSelectedObject() { return GetSelectedBitmap() ; } protected: virtual void DoGetSize( int *width, int *height ) const;