X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4b8bf2fd1fab57c46063f5955fe24ba3ed2c23e..b3fcfa4d89d44425ed28050462c6064100fe7b05:/include/wx/generic/caret.h diff --git a/include/wx/generic/caret.h b/include/wx/generic/caret.h index 173e80a37b..21effecb58 100644 --- a/include/wx/generic/caret.h +++ b/include/wx/generic/caret.h @@ -12,7 +12,7 @@ #ifndef _WX_CARET_H_ #define _WX_CARET_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "caret.h" #endif @@ -20,7 +20,7 @@ class wxCaret; -class wxCaretTimer : public wxTimer +class WXDLLEXPORT wxCaretTimer : public wxTimer { public: wxCaretTimer(wxCaret *caret);