wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-16 20:34:34 +00:00
parent ee799df7ff
commit c47addef10
34 changed files with 50 additions and 50 deletions

View File

@@ -699,7 +699,7 @@ void wxWindowBase::SetBestFittingSize(const wxSize& size)
// by default the origin is not shifted
wxPoint wxWindowBase::GetClientAreaOrigin() const
{
return wxPoint();
return wxPoint(0,0);
}
// set the min/max size of the window