]> git.saurik.com Git - wxWidgets.git/commitdiff
adding same methodname as gtk and msw
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 20 Oct 2006 13:12:23 +0000 (13:12 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 20 Oct 2006 13:12:23 +0000 (13:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/dcmemory.h

index 9e1045c8bd9110123c0b459b4732ca1c72375495..cc6d459e541c93b1f1f6214d7c3f1942762edd69 100644 (file)
@@ -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;