X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30c841c84dce46690499567141b98ffcf5a61b6a..4a4bf7eefbc04cb91652031d9a729720d52dde61:/include/wx/caret.h diff --git a/include/wx/caret.h b/include/wx/caret.h index 3b94c92604..8cff8f2f48 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -199,17 +199,13 @@ private: #include "wx/generic/caret.h" #endif // platform -#ifndef wxHAS_CARET_USING_OVERLAYS - #define wxHAS_CARET_USING_OVERLAYS 0 -#endif - // ---------------------------------------------------------------------------- // wxCaretSuspend: a simple class which hides the caret in its ctor and // restores it in the dtor, this should be used when drawing on the screen to // avoid overdrawing the caret // ---------------------------------------------------------------------------- -#if wxHAS_CARET_USING_OVERLAYS +#ifdef wxHAS_CARET_USING_OVERLAYS // we don't need to hide the caret if it's rendered using overlays class WXDLLEXPORT wxCaretSuspend