]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/dc.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / palmos / dc.h
index fb95b043cee3c0b1d341d5a1a1a9c07689991aff..ce2fc9a90598c49effba118523c33f509138a1dc 100644 (file)
@@ -1,10 +1,10 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dc.h
+// Name:        wx/palmos/dc.h
 // Purpose:     wxDC class
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10/13/04
-// RCS-ID:      $Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 #ifndef _WX_DC_H_
 #define _WX_DC_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "dc.h"
-#endif
-
 #include "wx/defs.h"
 #include "wx/dc.h"
 
@@ -35,7 +31,7 @@ class wxDCCacheEntry: public wxObject
 public:
     wxDCCacheEntry(WXHBITMAP hBitmap, int w, int h, int depth);
     wxDCCacheEntry(WXHDC hDC, int depth);
-    ~wxDCCacheEntry();
+    virtual ~wxDCCacheEntry();
 
     WXHBITMAP   m_bitmap;
     WXHDC       m_dc;
@@ -49,7 +45,7 @@ class WXDLLEXPORT wxDC : public wxDCBase
 {
 public:
     wxDC();
-    ~wxDC();
+    virtual ~wxDC();
 
     // implement base class pure virtuals
     // ----------------------------------