X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa06b433fc7ed4137d7fe5195cbbec88a10291af..55826fcf4fd863d48ac28789d99bbb5c8a8d4c7e:/src/msw/caret.cpp diff --git a/src/msw/caret.cpp b/src/msw/caret.cpp index ee761165a1..dac2949001 100644 --- a/src/msw/caret.cpp +++ b/src/msw/caret.cpp @@ -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