compilation fix for newer wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-06-07 09:47:13 +00:00
parent 7db05816fd
commit fa16690b7d

View File

@@ -107,7 +107,7 @@ bool operator <=(wxPoint const &p1, wxPoint const &p2)
/*
The following STAY HERE until we have a working wxGTK again!!!
*/
#ifdef __WXGTK__
#ifndef wxWANTS_CHARS
/// allows me to compare to wxPoints
bool operator ==(wxPoint const &p1, wxPoint const &p2)
{
@@ -126,7 +126,7 @@ wxPoint & operator += (wxPoint &p1, wxPoint const &p2)
p1.y += p2.y;
return p1;
}
#endif // wxGTK
#endif // old wxGTK
/// allows me to compare to wxPoints
bool operator>(wxPoint const &p1, wxPoint const &p2)