X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4b8bf2fd1fab57c46063f5955fe24ba3ed2c23e..abb69c6c82d61cf18f14270650a68896a3d8ed47:/include/wx/caret.h diff --git a/include/wx/caret.h b/include/wx/caret.h index 07e06afeea..f7d91c76f8 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -12,6 +12,10 @@ #ifndef _WX_CARET_H_BASE_ #define _WX_CARET_H_BASE_ +#include "wx/defs.h" + +#if wxUSE_CARET + #ifdef __GNUG__ #pragma interface "caret.h" #endif @@ -183,7 +187,7 @@ protected: int m_countVisible; private: - DECLARE_NO_COPY_CLASS(wxCaretBase); + DECLARE_NO_COPY_CLASS(wxCaretBase) }; // --------------------------------------------------------------------------- @@ -222,5 +226,7 @@ private: wxCaret *m_caret; }; +#endif // wxUSE_CARET + #endif // _WX_CARET_H_BASE_