}
//=========================================================================
void wxGUIEditorGraphicBBS::OnEditConfig(wxCommandEvent& event) {
- printf("EED wxGUIEditorGraphicBBS::OnEditConfig ... not implemented ..\n");
+ std::string commandStr;
+ std::string configFile = ConfigurationFile::GetInstance().Get_config_xml_full_path();
+ #ifdef WIN32
+ commandStr = "notepad.exe ";
+ #else
+ commandStr = "gedit ";
+ #endif
+ commandStr = commandStr + configFile;
+ std::cout << "system: " << commandStr << std::endl;
+ system ( commandStr.c_str() );
}
//=========================================================================