Fix assert due to missing wxOK calling SafeMessageBox() in ProjectInfoPage

This commit is contained in:
Charlie Fenton 2012-10-28 04:06:26 -07:00 committed by Oliver Bock
parent 334f330fa9
commit 4087d5f488
2 changed files with 3 additions and 1 deletions

View File

@ -6269,6 +6269,8 @@ Charlie 28 Oct 2012
- Fix more bad wxFlexGridSizers, etc. in Attach Wizard, Advanced Preferences, - Fix more bad wxFlexGridSizers, etc. in Attach Wizard, Advanced Preferences,
CDlgGenericMessage. CDlgGenericMessage.
- Fix assert caused by Clear() of empty Project Categories wxComboBox. - Fix assert caused by Clear() of empty Project Categories wxComboBox.
- Fix assert due to missing wxOK calling SafeMessageBox() in ProjectInfoPage.
clientgui/ clientgui/
AccountInfoPage.cpp AccountInfoPage.cpp

View File

@ -790,7 +790,7 @@ void CProjectInfoPage::OnPageChanging( wxWizardExEvent& event ) {
wxGetApp().SafeMessageBox( wxGetApp().SafeMessageBox(
_("You already added this project. Please choose a different project."), _("You already added this project. Please choose a different project."),
strTitle, strTitle,
wxCENTER | wxICON_INFORMATION wxCENTER | wxOK | wxICON_INFORMATION
); );
// We are already attached to that project, // We are already attached to that project,