27 XRCCTRL(*
this,
"wxID_OK",
wxButton)->SetDefault();
30 XRCCTRL(*
this,
"txtCommand",
wxTextCtrl)->SetBackgroundColour(c);
32 XRCCTRL(*
this,
"lblOperation",
wxStaticText)->SetLabel(
_(
"Operation: ") + operation);
33 XRCCTRL(*
this,
"txtCommand",
wxTextCtrl)->SetValue(command);
void EndModal(int retCode)
ScriptSecurityWarningDlg(wxWindow *parent, const wxString &operation, const wxString &command)
void EndModal(int retCode) override
static wxColour GetColour(wxSystemColour index)
const wxString & _(const wxString &string)
static wxXmlResource * Get()
ScriptSecurityResponse GetResponse()
wxObject * LoadObject(wxWindow *parent, const wxString &name, const wxString &classname)
~ScriptSecurityWarningDlg() override