MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / createDialog

Method createDialog

radiant/ui/common/DialogManager.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54IDialogPtr DialogManager::createDialog(const std::string& title, wxWindow* parent)
55{
56 cleanupOldDialogs();
57
58 // Allocate a new dialog
59 auto dialog = std::make_shared<wxutil::Dialog>(title, parent);
60
61 _dialogs.push_back(dialog);
62
63 return dialog;
64}
65
66IDialogPtr DialogManager::createMessageBox(const std::string& title,
67 const std::string& text,

Callers 5

ShowMethod · 0.45
dialogtest.pyFile · 0.45
executeFunction · 0.45
executeFunction · 0.45
executeFunction · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected