X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..5410f5728d75f905375c2b05944b11fc92a74aa4:/include/wx/gtk/dcmemory.h diff --git a/include/wx/gtk/dcmemory.h b/include/wx/gtk/dcmemory.h index b6b80af1ad..0dbded2feb 100644 --- a/include/wx/gtk/dcmemory.h +++ b/include/wx/gtk/dcmemory.h @@ -26,7 +26,7 @@ class WXDLLIMPEXP_CORE wxMemoryDC; class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC { public: - wxMemoryDC(); + wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap ); wxMemoryDC( wxDC *dc ); // Create compatible DC virtual ~wxMemoryDC(); virtual void SelectObject( const wxBitmap& bitmap ); @@ -42,6 +42,7 @@ public: virtual void SetTextBackground( const wxColour &col ); // implementation + virtual wxBitmap GetSelectedBitmap() const { return m_selected; } wxBitmap m_selected; protected: