s_extDef = path.AfterLast(_T('.'));
wxLogMessage(_T("You selected the file '%s', remembered extension '%s'"),
- path, s_extDef);
+ (const wxChar*) path, (const wxChar*) s_extDef);
}
void MyFrame::FilesOpen(wxCommandEvent& WXUNUSED(event) )
void MyFrame::ModelessDlg(wxCommandEvent& event)
{
- bool show = GetMenuBar()->IsChecked(event.GetInt());
+ bool show = GetMenuBar()->IsChecked(event.GetId());
if ( show )
{