From 4a4ab1b6a89915d5ec8afe14327416e97d59dff6 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 20 Oct 2006 13:12:23 +0000 Subject: [PATCH] adding same methodname as gtk and msw git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/dcmemory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/mac/carbon/dcmemory.h b/include/wx/mac/carbon/dcmemory.h index 9e1045c8bd..cc6d459e54 100644 --- a/include/wx/mac/carbon/dcmemory.h +++ b/include/wx/mac/carbon/dcmemory.h @@ -23,7 +23,8 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC wxMemoryDC( wxDC *dc ); // Create compatible DC 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; -- 2.50.0