X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0a56ab0c38aac05101593488c7e0972c36c38b7..8b089c5e8c8a2140258d150ca1ce42afd3b79e1b:/include/wx/os2/dcmemory.h?ds=sidebyside diff --git a/include/wx/os2/dcmemory.h b/include/wx/os2/dcmemory.h index f2db0f212c..85191f6e45 100644 --- a/include/wx/os2/dcmemory.h +++ b/include/wx/os2/dcmemory.h @@ -12,13 +12,9 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#ifdef __GNUG__ -#pragma interface "dcmemory.h" -#endif - #include "wx/dcclient.h" -class WXDLLEXPORT wxMemoryDC: public wxPaintDC +class WXDLLEXPORT wxMemoryDC: public wxDC { DECLARE_DYNAMIC_CLASS(wxMemoryDC) @@ -28,11 +24,7 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC ~wxMemoryDC(void); virtual void SelectObject( const wxBitmap& bitmap ); - void GetSize( int *width, int *height ) const; - - private: - friend wxPaintDC; - wxBitmap m_selected; + virtual void DoGetSize( int *width, int *height ) const; }; #endif