X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6bb44116c21e8495c2127ed11b44aac126048c18..732e46f552027022e4dc87d013918c9d45b0f772:/src/generic/colrdlgg.cpp diff --git a/src/generic/colrdlgg.cpp b/src/generic/colrdlgg.cpp index a5d264b557..80b13b5337 100644 --- a/src/generic/colrdlgg.cpp +++ b/src/generic/colrdlgg.cpp @@ -295,7 +295,7 @@ void wxGenericColourDialog::CreateWidgets() // 3) buttons wxSizer *buttonsizer = CreateButtonSizer( wxOK|wxCANCEL ); buttonsizer->Add( new wxButton(this, wxID_ADD_CUSTOM, _("Add to custom colours") ), 0, wxLEFT|wxRIGHT, 10 ); - topSizer->Add( buttonsizer, 0, wxCENTRE | wxALL, 10 ); + topSizer->Add( buttonsizer, 0, wxEXPAND | wxALL, 10 ); SetAutoLayout( true ); SetSizer( topSizer );