fixed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -156,9 +156,9 @@ public:
|
||||
return tup;
|
||||
}
|
||||
|
||||
wxRect* __add__(const wxRect* rect) {
|
||||
if (! rect) return self;
|
||||
return &(*self + *rect);
|
||||
wxRect __add__(const wxRect* rect) {
|
||||
if (! rect) return *self;
|
||||
return *self + *rect;
|
||||
}
|
||||
|
||||
int __cmp__(const wxRect* rect) {
|
||||
|
Reference in New Issue
Block a user