X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..aa2d25a57aa4ae113e369ea8e08e5da4888e1b66:/include/wx/mac/dcmemory.h diff --git a/include/wx/mac/dcmemory.h b/include/wx/mac/dcmemory.h index c6c5737642..642ae88afd 100644 --- a/include/wx/mac/dcmemory.h +++ b/include/wx/mac/dcmemory.h @@ -28,9 +28,8 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC ~wxMemoryDC(void); virtual void SelectObject( const wxBitmap& bitmap ); void GetSize( int *width, int *height ) const; - + wxBitmap GetSelectedObject() { return m_selected ; } private: - friend wxPaintDC; wxBitmap m_selected; };