X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4b8bf2fd1fab57c46063f5955fe24ba3ed2c23e..27d0dcd033be9b1356a36d582f3d3665a53e11e4:/include/wx/caret.h?ds=sidebyside diff --git a/include/wx/caret.h b/include/wx/caret.h index 07e06afeea..e34ed29d12 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -12,7 +12,11 @@ #ifndef _WX_CARET_H_BASE_ #define _WX_CARET_H_BASE_ -#ifdef __GNUG__ +#include "wx/defs.h" + +#if wxUSE_CARET + +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "caret.h" #endif @@ -183,7 +187,7 @@ protected: int m_countVisible; private: - DECLARE_NO_COPY_CLASS(wxCaretBase); + DECLARE_NO_COPY_CLASS(wxCaretBase) }; // --------------------------------------------------------------------------- @@ -220,7 +224,11 @@ public: private: wxCaret *m_caret; + + DECLARE_NO_COPY_CLASS(wxCaretSuspend) }; +#endif // wxUSE_CARET + #endif // _WX_CARET_H_BASE_