X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf6a063410b3fa401c913153a64f81d700fbda4..38a097f588121ffcab2fa57e4494a6d0783c3567:/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) };