ENH: fl_ask replaced by fl_choice in FLTKCallback.

This commit is contained in:
Luis Ibanez 2001-10-29 21:20:30 -05:00
parent b0e3a2def0
commit 37502d85d8

View File

@ -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();
}
}
}