]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dcmemory.h
Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
[wxWidgets.git] / include / wx / mgl / dcmemory.h
index 8e85ffe722dd416c5f010cbb5e6dd82b8a2f2986..8bda585ff4ab37b2fcc3a7b765eb8535597db485 100644 (file)
@@ -7,14 +7,9 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef __WX_DCMEMORY_H__
 #define __WX_DCMEMORY_H__
 
-#ifdef __GNUG__
-#pragma interface "dcmemory.h"
-#endif
-
 #include "wx/defs.h"
 #include "wx/dcclient.h"
 
@@ -31,9 +26,9 @@ class WXDLLEXPORT wxMemoryDC;
 class WXDLLEXPORT wxMemoryDC : public wxDC
 {
 public:
-    wxMemoryDC();
+    wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
     wxMemoryDC(wxDC *dc); // Create compatible DC
-    ~wxMemoryDC();
+    virtual ~wxMemoryDC();
     virtual void SelectObject(const wxBitmap& bitmap);
 
     // these get reimplemented for mono-bitmaps to behave