]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/caret.h
Helper for clipping to range.
[wxWidgets.git] / include / wx / caret.h
index 16caa514d81e9146183013a8bf5ec5e857be43f5..5b18d9dcc7cc29f3865bc1909c580ca8f7067eb1 100644 (file)
 
 #if wxUSE_CARET
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "caret.h"
-#endif
-
 // ---------------------------------------------------------------------------
 // forward declarations
 // ---------------------------------------------------------------------------
@@ -61,6 +57,9 @@ public:
         (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
     // --------------------------------------------------------------