X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/953ccd3da935af4f03732ef87a0dba214c802e65..9739d9ee8090965862ba623b09a8fba731dc3d5c:/include/wx/msw/dcmemory.h diff --git a/include/wx/msw/dcmemory.h b/include/wx/msw/dcmemory.h index 5ba8eb59e8..da908bf3a4 100644 --- a/include/wx/msw/dcmemory.h +++ b/include/wx/msw/dcmemory.h @@ -18,17 +18,20 @@ #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 SelectObject(const wxBitmap& bitmap); + + virtual void DoGetSize(int* width, int* height) const; + +private: + DECLARE_DYNAMIC_CLASS(wxMemoryDC) }; #endif