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:
@@ -1006,7 +1006,7 @@ void wxPreviewFrame::CreateControlBar()
|
||||
if (m_printPreview->GetPrintoutForPrinting())
|
||||
buttons |= wxPREVIEW_PRINT;
|
||||
|
||||
m_controlBar = new wxPreviewControlBar(m_printPreview, buttons, this, wxPoint(), wxSize(400, 40));
|
||||
m_controlBar = new wxPreviewControlBar(m_printPreview, buttons, this, wxPoint(0,0), wxSize(400, 40));
|
||||
m_controlBar->CreateButtons();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user