]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/caret.h
fixes for Unicode build with CodeWarrior under OS X 10.2 (patch 1373217)
[wxWidgets.git] / include / wx / caret.h
index 16caa514d81e9146183013a8bf5ec5e857be43f5..5b18d9dcc7cc29f3865bc1909c580ca8f7067eb1 100644 (file)
 
 #if wxUSE_CARET
 
 
 #if wxUSE_CARET
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "caret.h"
-#endif
-
 // ---------------------------------------------------------------------------
 // forward declarations
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------
 // forward declarations
 // ---------------------------------------------------------------------------
@@ -61,6 +57,9 @@ public:
         (void)Create(window, size);
     }
 
         (void)Create(window, size);
     }
 
+    // a virtual dtor has been provided since this class has virtual members
+    virtual ~wxCaretBase() { }
+
     // Create() functions - same as ctor but returns the success code
     // --------------------------------------------------------------
 
     // Create() functions - same as ctor but returns the success code
     // --------------------------------------------------------------