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:
@@ -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) \
|
||||
|
Reference in New Issue
Block a user