From 4087d5f488417570d01737ba2f7aab29535e3aef Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sun, 28 Oct 2012 04:06:26 -0700 Subject: [PATCH] Fix assert due to missing wxOK calling SafeMessageBox() in ProjectInfoPage --- checkin_notes | 2 ++ clientgui/ProjectInfoPage.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 29ac7dfc3b..88264be412 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6269,6 +6269,8 @@ Charlie 28 Oct 2012 - Fix more bad wxFlexGridSizers, etc. in Attach Wizard, Advanced Preferences, CDlgGenericMessage. - Fix assert caused by Clear() of empty Project Categories wxComboBox. + - Fix assert due to missing wxOK calling SafeMessageBox() in ProjectInfoPage. + clientgui/ AccountInfoPage.cpp diff --git a/clientgui/ProjectInfoPage.cpp b/clientgui/ProjectInfoPage.cpp index d1c82b6a54..d6cd67dee0 100644 --- a/clientgui/ProjectInfoPage.cpp +++ b/clientgui/ProjectInfoPage.cpp @@ -790,7 +790,7 @@ void CProjectInfoPage::OnPageChanging( wxWizardExEvent& event ) { wxGetApp().SafeMessageBox( _("You already added this project. Please choose a different project."), strTitle, - wxCENTER | wxICON_INFORMATION + wxCENTER | wxOK | wxICON_INFORMATION ); // We are already attached to that project,