X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/953ccd3da935af4f03732ef87a0dba214c802e65..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/msw/dcmemory.h diff --git a/include/wx/msw/dcmemory.h b/include/wx/msw/dcmemory.h index 5ba8eb59e8..85d83bd981 100644 --- a/include/wx/msw/dcmemory.h +++ b/include/wx/msw/dcmemory.h @@ -18,17 +18,21 @@ #include "wx/dcclient.h" -class WXDLLEXPORT wxMemoryDC: public wxDC +class WXDLLEXPORT wxMemoryDC : public wxDC { - DECLARE_DYNAMIC_CLASS(wxMemoryDC) +public: + wxMemoryDC(); + wxMemoryDC(wxDC *dc); // Create compatible DC - public: - wxMemoryDC(void); - wxMemoryDC(wxDC *dc); // Create compatible DC + ~wxMemoryDC(); - ~wxMemoryDC(void); - virtual void SelectObject(const wxBitmap& bitmap); - virtual void DoGetSize(int* width, int* height) const; + virtual void DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height); + virtual void SelectObject(const wxBitmap& bitmap); + + virtual void DoGetSize(int* width, int* height) const; + +private: + DECLARE_DYNAMIC_CLASS(wxMemoryDC) }; #endif