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:
@@ -122,7 +122,7 @@ void wxSplitterWindow::Init()
|
||||
m_firstY = 0;
|
||||
m_sashPosition = m_requestedSashPosition = 0;
|
||||
m_sashGravity = 0.0;
|
||||
m_lastSize = wxSize();
|
||||
m_lastSize = wxSize(0,0);
|
||||
m_checkRequestedSashPosition = false;
|
||||
m_minimumPaneSize = 0;
|
||||
m_sashCursorWE = wxCursor(wxCURSOR_SIZEWE);
|
||||
@@ -414,7 +414,7 @@ void wxSplitterWindow::OnSize(wxSizeEvent& event)
|
||||
|
||||
if ( iconized )
|
||||
{
|
||||
m_lastSize = wxSize();
|
||||
m_lastSize = wxSize(0,0);
|
||||
|
||||
event.Skip();
|
||||
|
||||
|
Reference in New Issue
Block a user