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