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
This commit is contained in:
Václav Slavík
2007-06-26 14:36:06 +00:00
parent 8a02058ab2
commit 13f071c06b

View File

@@ -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) \