summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-10-30 09:33:06 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-10-30 09:33:06 (GMT)
commitbc34c428dfbfaf9164a2ba899d6d2b350777c1a9 (patch)
tree840986a2d0e7fc7f3ed32f18cd14f3d6f6cec682 /Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
parentd41e954f070ad3df8d16c2a6987ffa1bede4f296 (diff)
downloadCMake-bc34c428dfbfaf9164a2ba899d6d2b350777c1a9.zip
CMake-bc34c428dfbfaf9164a2ba899d6d2b350777c1a9.tar.gz
CMake-bc34c428dfbfaf9164a2ba899d6d2b350777c1a9.tar.bz2
FIX: In order to disable a button in fl_choice, a 0 pointer must be sent
instead of "".
Diffstat (limited to 'Source/FLTKDialog/CMakeSetupGUIImplementation.cxx')
-rw-r--r--Source/FLTKDialog/CMakeSetupGUIImplementation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
index 6cffa59..1c2761c 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;