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,
);
backNextPair->Add(m_btnPrev);
- backNextPair->Add(BACKNEXT_MARGIN,0,
+ backNextPair->Add(10, 0,
0, // No horizontal stretching
wxEXPAND // No border, (mostly useless) vertical stretching
);