]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dcmemory.h
Factory some of wxFilterClassFactory into a base class.
[wxWidgets.git] / include / wx / cocoa / dcmemory.h
index 889b5ce9bd99333bf647bc77d675c48f9109ac36..e5126c689618ce84bef7cd151752b40e4170897b 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/03/16
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_DCMEMORY_H__
@@ -18,9 +18,9 @@ class WXDLLEXPORT wxMemoryDC: public wxDC
 {
     DECLARE_DYNAMIC_CLASS(wxMemoryDC)
 public:
-    wxMemoryDC(void);
+    wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
     wxMemoryDC( wxDC *dc ); // Create compatible DC
-    ~wxMemoryDC(void);
+    virtual ~wxMemoryDC(void);
     virtual void SelectObject(const wxBitmap& bitmap);
     virtual void DoGetSize(int *width, int *height) const;
 protected:
@@ -36,4 +36,5 @@ protected:
         int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask);
 };
 
-#endif // __WX_COCOA_DCMEMORY_H__
+#endif
+    // __WX_COCOA_DCMEMORY_H__