]> git.saurik.com Git - wxWidgets.git/commitdiff
include wxUniCharRef::operator&& unconditionally too, not just wxUniChar one
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 26 Jun 2007 14:36:06 +0000 (14:36 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 26 Jun 2007 14:36:06 +0000 (14:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unichar.h

index f035f3892f85151db85c44a9dfbb51585c199a56..36c4b1358766dd3c1184f7953ce4ccb5d4a70045 100644 (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)                                      \