]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcmemory.h
wxMenu::callback stuff taken inside WXWIN_COMPATIBILITY_2 (everybody should
[wxWidgets.git] / include / wx / msw / dcmemory.h
index 5ba8eb59e85441b8ce675fdcda7bfd04df3f0ca0..da908bf3a489f4e3304413aefbe262d42f2824e2 100644 (file)
 
 #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