From bc34c428dfbfaf9164a2ba899d6d2b350777c1a9 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Tue, 30 Oct 2001 04:33:06 -0500 Subject: [PATCH] FIX: In order to disable a button in fl_choice, a 0 pointer must be sent instead of "". --- Source/FLTKDialog/CMakeSetupGUIImplementation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx index 6cffa5901..1c2761c4d 100644 --- a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx +++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx @@ -16,7 +16,7 @@ void FLTKMessageCallback(const char* message, const char* title, bool& nomore) { std::string msg = message; msg += "\nPress cancel to suppress any further messages."; - int choice = fl_choice( msg.c_str(), "Cancel","Ok",""); + int choice = fl_choice( msg.c_str(), "Cancel","Ok",0); if(choice==0) { nomore = true;