X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68379eaf0ae64d105f8244b1db83e793f7dd83b0..1286b7ba6c0e4d1513a0109cb6f57db622012881:/include/wx/caret.h diff --git a/include/wx/caret.h b/include/wx/caret.h index 16caa514d8..5b18d9dcc7 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -16,10 +16,6 @@ #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 // --------------------------------------------------------------