X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4b8bf2fd1fab57c46063f5955fe24ba3ed2c23e..3d285623a7a247e231a63dbba1ab5f8a9a0be90f:/include/wx/caret.h?ds=sidebyside 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_