X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30c841c84dce46690499567141b98ffcf5a61b6a..23c06cde5df85dbfd94e92e90de225618191153f:/include/wx/caret.h?ds=inline diff --git a/include/wx/caret.h b/include/wx/caret.h index 3b94c92604..ff5071ca78 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: caret.h +// Name: wx/caret.h // Purpose: wxCaretBase class - the interface of wxCaret // Author: Vadim Zeitlin // Modified by: @@ -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 @@ -254,4 +250,3 @@ private: #endif // wxUSE_CARET #endif // _WX_CARET_H_BASE_ -