//=================================================
void WxGimmickView::OnSettings(wxCommandEvent& event)
{
- wxDialog* dial= new wxDialog (this,-1,"System Settings",wxDefaultPosition, wxSize(450,600));
- wxBoxSizer *siz = new wxBoxSizer(wxVERTICAL);
- // Notebook
- wxNotebook* nb= new wxNotebook(dial,
- -1,wxDefaultPosition, wxDefaultSize, 0);
-
- siz->Add( nb,1,wxGROW ,0);
- CreateSettingsDialog(nb);
- dial->SetSizer(siz);
- dial->ShowModal();
+ wxDialog* dial= new wxDialog (this,-1,_T("System Settings"),wxDefaultPosition, wxSize(450,600));
+ wxBoxSizer *siz = new wxBoxSizer(wxVERTICAL);
+ // Notebook
+ wxNotebook* nb= new wxNotebook(dial,
+ -1,wxDefaultPosition, wxDefaultSize, 0);
+
+ siz->Add( nb,1,wxGROW ,0);
+ CreateSettingsDialog(nb);
+ dial->SetSizer(siz);
+ dial->ShowModal();
}
//=================================================
//AndresDonadio
void WxGimmickView::OnTools(wxCommandEvent& event)
{
- wxDialog* dial= new wxDialog (this,-1,"Tools",wxDefaultPosition, wxDefaultSize);
+ wxDialog* dial= new wxDialog (this,-1,_T("Tools"),wxDefaultPosition, wxDefaultSize);
wxBoxSizer *siz = new wxBoxSizer(wxVERTICAL);
wxButton *inBtn = new wxButton(dial,-1,_T("Input Directory"), wxDefaultPosition, wxSize(200,30) );