void QMakePlugin::OnSaveConfig(clProjectSettingsEvent& event) { event.Skip(); wxString conf, project; project = event.GetProjectName(); conf = event.GetConfigName(); QMakeTab* tab = DoGetQmakeTab(conf); if(!tab) { return; } tab->Save(m_mgr, project, conf); }
void QMakePlugin::OnSaveConfig(wxCommandEvent& event) { event.Skip(); wxString *proj = (wxString *)event.GetClientData(); wxString conf, project; project = *proj; conf = event.GetString(); QMakeTab *tab = DoGetQmakeTab( conf ); if ( !tab ) { return; } tab->Save(m_mgr, project, conf); }