]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/caret.h
Fixed typo in my last commit (it did break socket detection code :-( ).
[wxWidgets.git] / include / wx / caret.h
index 07e06afeeab223735ba226e5d42c1595190b8050..f7d91c76f86fdfa456817629ab320dcf637be124 100644 (file)
 #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_