X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b44ffc0e77a8db603b3aba597e4c4df2e2e518f..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/gtk/dcmemory.h diff --git a/include/wx/gtk/dcmemory.h b/include/wx/gtk/dcmemory.h index 44296bdb6d..576c5c53af 100644 --- a/include/wx/gtk/dcmemory.h +++ b/include/wx/gtk/dcmemory.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcmemory.h +// Name: wx/gtk/dcmemory.h // Purpose: // Author: Robert Roebling // RCS-ID: $Id$ @@ -23,12 +23,8 @@ public: wxMemoryDCImpl( wxMemoryDC *owner ); wxMemoryDCImpl( wxMemoryDC *owner, wxBitmap& bitmap ); wxMemoryDCImpl( wxMemoryDC *owner, wxDC *dc ); - - virtual ~wxMemoryDCImpl(); -#if wxUSE_GRAPHICS_CONTEXT - virtual wxGraphicsContext* CreateGraphicsContext(); -#endif + virtual ~wxMemoryDCImpl(); // these get reimplemented for mono-bitmaps to behave // more like their Win32 couterparts. They now interpret @@ -43,7 +39,8 @@ public: // overridden from wxDCImpl virtual void DoGetSize( int *width, int *height ) const; virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const; - + virtual void* GetHandle() const; + // overridden for wxMemoryDC Impl virtual void DoSelect(const wxBitmap& bitmap); @@ -52,12 +49,12 @@ public: private: wxBitmap m_selected; - + void Init(); DECLARE_ABSTRACT_CLASS(wxMemoryDCImpl) }; -#endif +#endif // _WX_GTK_DCMEMORY_H_