Small wx <2.7 fix

Originally committed to SVN as r757.
This commit is contained in:
Rodrigo Braz Monteiro 2007-01-10 04:53:39 +00:00
parent 5b93f561db
commit bb3ec99843
1 changed files with 2 additions and 0 deletions

View File

@ -582,7 +582,9 @@ DialogOptions::DialogOptions(wxWindow *parent)
book->AddPage(audioPage,_("Audio"),true);
book->AddSubPage(displayPage,_("Display"),true);
book->AddPage(autoPage,_("Automation"),true);
#ifdef wxUSE_TREEBOOK
book->ChangeSelection(Options.AsInt(_T("Options Page")));
#endif
// Buttons Sizer
wxSizer *buttonSizer = new wxBoxSizer(wxHORIZONTAL);