From 79986776127c04a8debcaea26a5697c2e5a167bd Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 19 Nov 2011 05:07:41 +0000 Subject: [PATCH] Fix wxGTK assertion failure Originally committed to SVN as r5895. --- aegisub/src/dialog_spellchecker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aegisub/src/dialog_spellchecker.cpp b/aegisub/src/dialog_spellchecker.cpp index 7a4743f7d..3119ae3c5 100644 --- a/aegisub/src/dialog_spellchecker.cpp +++ b/aegisub/src/dialog_spellchecker.cpp @@ -84,14 +84,14 @@ DialogSpellChecker::DialogSpellChecker(agi::Context *context) // List of supported spellchecker languages { if (!spellchecker.get()) { - wxMessageBox("No spellchecker available.", "Error", wxICON_ERROR); + wxMessageBox("No spellchecker available.", "Error", wxICON_ERROR | wxOK); Destroy(); return; } dictionary_lang_codes = spellchecker->GetLanguageList(); if (dictionary_lang_codes.empty()) { - wxMessageBox("No spellchecker dictionaries available.", "Error", wxICON_ERROR); + wxMessageBox("No spellchecker dictionaries available.", "Error", wxICON_ERROR | wxOK); Destroy(); return; }