Use default constructors for wxSize/Point/Rect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -554,7 +554,7 @@ void wxWindowBase::InvalidateBestSize()
|
||||
wxSize wxWindowBase::DoGetBestSize() const
|
||||
{
|
||||
wxSize best;
|
||||
|
||||
|
||||
if ( m_windowSizer )
|
||||
{
|
||||
best = m_windowSizer->GetMinSize();
|
||||
@@ -699,7 +699,7 @@ void wxWindowBase::SetBestFittingSize(const wxSize& size)
|
||||
// by default the origin is not shifted
|
||||
wxPoint wxWindowBase::GetClientAreaOrigin() const
|
||||
{
|
||||
return wxPoint(0, 0);
|
||||
return wxPoint();
|
||||
}
|
||||
|
||||
// set the min/max size of the window
|
||||
|
Reference in New Issue
Block a user