fixed VC++ compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-12-01 23:53:03 +00:00
parent 42dd647cfd
commit b01fb5c340

View File

@ -909,8 +909,15 @@ inline bool operator>=(long l, const wxLongLong& ll) { return ll > l; }
inline bool operator==(long l, const wxLongLong& ll) { return ll > l; }
inline bool operator!=(long l, const wxLongLong& ll) { return ll > l; }
inline wxLongLong operator+(long l, const wxLongLong& ll) { return ll + l; }
inline wxLongLong operator-(long l, const wxLongLong& ll) { return ll - l; }
inline wxLongLong operator+(long l, const wxLongLong& ll)
{
return ll + wxLongLong(l);
}
inline wxLongLong operator-(long l, const wxLongLong& ll)
{
return ll - wxLongLong(l);
}
inline bool operator<(unsigned long l, const wxULongLong& ll) { return ll > l; }
inline bool operator>(unsigned long l, const wxULongLong& ll) { return ll > l; }