summaryrefslogtreecommitdiff
path: root/Source/FLTKDialog
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r--Source/FLTKDialog/CMakeSetupGUIImplementation.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
index 6fb3f9979a..6cffa59013 100644
--- a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
+++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
@@ -14,9 +14,10 @@
void FLTKMessageCallback(const char* message, const char* title, bool& nomore)
{
- int ok =
- fl_ask(message, "Press cancel to suppress any further messages.");
- if(!ok)
+ std::string msg = message;
+ msg += "\nPress cancel to suppress any further messages.";
+ int choice = fl_choice( msg.c_str(), "Cancel","Ok","");
+ if(choice==0)
{
nomore = true;
}
@@ -586,7 +587,6 @@ CMakeSetupGUIImplementation
m_CacheEntriesList.SetDirty();
}
}
-
}