X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71d6cd60ee7ccdb5a1275eebbc19107a8c865a9b..241b769f9670cd372c45db51f5f71ba83f93bad5:/src/generic/wizard.cpp?ds=inline diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 1b40923001..8490534ae9 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -316,7 +316,7 @@ void wxWizard::AddBitmapRow(wxBoxSizer *mainColumn) mainColumn->Add( m_sizerBmpAndPage, 1, // Vertically stretchable - wxEXPAND // Horizonal stretching, no border + wxEXPAND // Horizontal stretching, no border ); mainColumn->Add(0,5, 0, // No vertical stretching @@ -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 );