ENH: fl_ask replaced by fl_choice in FLTKCallback.
This commit is contained in:
parent
b0e3a2def0
commit
37502d85d8
|
@ -14,9 +14,10 @@
|
||||||
|
|
||||||
void FLTKMessageCallback(const char* message, const char* title, bool& nomore)
|
void FLTKMessageCallback(const char* message, const char* title, bool& nomore)
|
||||||
{
|
{
|
||||||
int ok =
|
std::string msg = message;
|
||||||
fl_ask(message, "Press cancel to suppress any further messages.");
|
msg += "\nPress cancel to suppress any further messages.";
|
||||||
if(!ok)
|
int choice = fl_choice( msg.c_str(), "Cancel","Ok","");
|
||||||
|
if(choice==0)
|
||||||
{
|
{
|
||||||
nomore = true;
|
nomore = true;
|
||||||
}
|
}
|
||||||
|
@ -586,7 +587,6 @@ CMakeSetupGUIImplementation
|
||||||
m_CacheEntriesList.SetDirty();
|
m_CacheEntriesList.SetDirty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue