X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e4ea166d76da40eaa5fdcf9e958d93521f72fba..ba2d860554e505e5c7b3745a5d203403bb110fc3:/include/wx/gtk1/dcmemory.h diff --git a/include/wx/gtk1/dcmemory.h b/include/wx/gtk1/dcmemory.h index 982dee3119..213b7e4eed 100644 --- a/include/wx/gtk1/dcmemory.h +++ b/include/wx/gtk1/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 DoGetSize( 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