X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..921d0fb1953c384c3f5066dabc19f0f7e4fb1da7:/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; };