X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71d6cd60ee7ccdb5a1275eebbc19107a8c865a9b..de1cc37868e66796a66af8fc13a642a1d6a3d1db:/src/generic/wizard.cpp diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 1b40923001..af2cdf6274 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -373,13 +373,6 @@ void wxWizard::AddBackNextPair(wxBoxSizer *buttonRow) wxT("You must create the buttons before calling ") wxT("wxWizard::AddBackNextPair") ); - // margin between Back and Next buttons -#ifdef __WXMAC__ - static const int BACKNEXT_MARGIN = 10; -#else - static const int BACKNEXT_MARGIN = 0; -#endif - wxBoxSizer *backNextPair = new wxBoxSizer(wxHORIZONTAL); buttonRow->Add( backNextPair, @@ -389,7 +382,7 @@ void wxWizard::AddBackNextPair(wxBoxSizer *buttonRow) ); backNextPair->Add(m_btnPrev); - backNextPair->Add(BACKNEXT_MARGIN,0, + backNextPair->Add(10, 0, 0, // No horizontal stretching wxEXPAND // No border, (mostly useless) vertical stretching );