X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/msw/dcmemory.h diff --git a/include/wx/msw/dcmemory.h b/include/wx/msw/dcmemory.h index f278bc447e..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 GetSize(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