X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..bd73863347c81c1b41b3a7684f0219d44d1c53d2:/include/wx/gtk/dcmemory.h diff --git a/include/wx/gtk/dcmemory.h b/include/wx/gtk/dcmemory.h index ea4a1f1571..213b7e4eed 100644 --- a/include/wx/gtk/dcmemory.h +++ b/include/wx/gtk/dcmemory.h @@ -28,20 +28,20 @@ class wxMemoryDC; // wxMemoryDC //----------------------------------------------------------------------------- -class wxMemoryDC: public wxWindowDC +class wxMemoryDC : public wxWindowDC { - DECLARE_DYNAMIC_CLASS(wxMemoryDC) - public: - wxMemoryDC(); - wxMemoryDC( wxDC *dc ); // Create compatible DC - ~wxMemoryDC(); - virtual void SelectObject( const wxBitmap& bitmap ); - void GetSize( int *width, int *height ) const; + wxMemoryDC(); + wxMemoryDC( wxDC *dc ); // Create compatible DC + ~wxMemoryDC(); + virtual void SelectObject( const wxBitmap& bitmap ); + void DoGetSize( int *width, int *height ) const; - // implementation + // implementation + wxBitmap m_selected; - wxBitmap m_selected; +private: + DECLARE_DYNAMIC_CLASS(wxMemoryDC) }; #endif