X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..813b6b3f88310608cb3ca37b0f29f64330f7558f:/include/wx/x11/dcmemory.h diff --git a/include/wx/x11/dcmemory.h b/include/wx/x11/dcmemory.h index 50259bbdf6..5fd1114288 100644 --- a/include/wx/x11/dcmemory.h +++ b/include/wx/x11/dcmemory.h @@ -12,25 +12,22 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dcmemory.h" -#endif - #include "wx/dcclient.h" -class wxMemoryDC : public wxWindowDC +class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC { public: wxMemoryDC(); wxMemoryDC( wxDC *dc ); // Create compatible DC ~wxMemoryDC(); virtual void SelectObject( const wxBitmap& bitmap ); - void DoGetSize( int *width, int *height ) const; // implementation wxBitmap m_selected; -private: +protected: + void DoGetSize( int *width, int *height ) const; + DECLARE_DYNAMIC_CLASS(wxMemoryDC) };