]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/dcmemory.h
Fixed some wxDragImage bugs
[wxWidgets.git] / include / wx / mac / dcmemory.h
index c6c57376420c83bf866bdbd71898ab7f362a0421..642ae88afd1942acdb6fbf8880eec871bebe7649 100644 (file)
@@ -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;
 };