From: Václav Slavík Date: Tue, 26 Jun 2007 14:36:06 +0000 (+0000) Subject: include wxUniCharRef::operator&& unconditionally too, not just wxUniChar one X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/13f071c06b446aa8de9d0e14f2f799f251485c5f?ds=inline include wxUniCharRef::operator&& unconditionally too, not just wxUniChar one git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unichar.h b/include/wx/unichar.h index f035f3892f..36c4b13587 100644 --- a/include/wx/unichar.h +++ b/include/wx/unichar.h @@ -240,10 +240,7 @@ public: // see wxUniChar::operator bool etc. for explanation operator bool() const { return (bool)UniChar(); } bool operator!() const { return !UniChar(); } -#if (defined(__VISUALC__) && __VISUALC__ < 1400) || \ - defined(__DIGITALMARS__) || defined(__BORLANDC__) bool operator&&(bool v) const { return UniChar() && v; } -#endif // Comparison operators: #define wxDEFINE_UNICHARREF_OPERATOR(op) \