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:
@@ -149,7 +149,7 @@ void wxGenericColourDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
|
||||
bool wxGenericColourDialog::Create(wxWindow *parent, wxColourData *data)
|
||||
{
|
||||
if ( !wxDialog::Create(parent, wxID_ANY, _("Choose colour"),
|
||||
wxPoint(), wxSize(900, 900)) )
|
||||
wxPoint(0,0), wxSize(900, 900)) )
|
||||
return false;
|
||||
|
||||
dialogParent = parent;
|
||||
|
Reference in New Issue
Block a user