]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/caret.h
fixed typo
[wxWidgets.git] / include / wx / caret.h
index 07e06afeeab223735ba226e5d42c1595190b8050..e34ed29d12ec995d152f9468114606b1989d0b69 100644 (file)
 #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_