X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf6a063410b3fa401c913153a64f81d700fbda4..4523ebb3f1c3576d687112d3a65141f7297ea02b:/include/wx/x11/dcmemory.h?ds=sidebyside diff --git a/include/wx/x11/dcmemory.h b/include/wx/x11/dcmemory.h index aec644d440..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(__APPLE__) -#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) };