]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/caret.cpp
removed wxFunction
[wxWidgets.git] / src / msw / caret.cpp
index ee761165a116c557f584ee47b56964c92a115f7d..dac2949001366dc5f681ef3731f9f137438071dd 100644 (file)
@@ -35,6 +35,8 @@
 
 #include "wx/caret.h"
 
+#if wxUSE_CARET
+
 #include "wx/msw/private.h"
 
 // ---------------------------------------------------------------------------
@@ -192,3 +194,5 @@ void wxCaret::DoSize()
         OnSetFocus();
     }
 }
+
+#endif