mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
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)
|
||||
{
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user