Explorar el Código

FIX: In order to disable a button in fl_choice, a 0 pointer must be sent
instead of "".

Luis Ibanez hace 24 años
padre
commit
bc34c428df
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Source/FLTKDialog/CMakeSetupGUIImplementation.cxx

+ 1 - 1
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;