18 XRCCTRL(*
this,
"wxID_OK",
wxButton)->SetDefault();
29 Connect(XRCID(
"ID_Exclusive"), wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, (wxObjectEventFunction)&CompilerFlagDlg::OnAdvancedOption);
34 SetTitle(
_(
"Modify flag"));
55 if (!selectedCategory.
empty())
60 SetMaxSize(
wxSize(-1, GetMinHeight()));
void EndModal(int retCode)
wxTextCtrl * SupersedeText
wxToggleButton * ExclusiveToggle
wxString BeforeLast(wxUniChar ch, wxString *rest=NULL) const
void EndModal(int retCode)
wxTextCtrl * CompilerText
void OnAdvancedOption(wxCommandEvent &event)
wxComboBox * CategoryCombo
const wxString & _(const wxString &string)
wxString & Trim(bool fromRight=true)
bool EndsWith(const wxString &suffix, wxString *rest=NULL) const
static wxXmlResource * Get()
CompilerFlagDlg(wxWindow *parent, CompOption *opt, wxArrayString &categ, const wxString &selectedCategory)
virtual ~CompilerFlagDlg()
wxObject * LoadObject(wxWindow *parent, const wxString &name, const wxString &classname)