#endif
void OnMenuOpen(wxMenuEvent& event)
- { LogMenuOpenOrClose(event, _T("opened")); }
+ { LogMenuOpenOrClose(event, _T("opened")); event.Skip(); }
void OnMenuClose(wxMenuEvent& event)
- { LogMenuOpenOrClose(event, _T("closed")); }
+ { LogMenuOpenOrClose(event, _T("closed")); event.Skip(); }
void OnUpdateCheckMenuItemUI(wxUpdateUIEvent& event);
wxMenuBar *menubar = GetMenuBar();
wxMenu *menu = menubar->GetMenu(menubar->GetMenuCount() - 1);
- wxMenuItemList::Node *node = menu->GetMenuItems().GetLast();
+ wxMenuItemList::compatibility_iterator node = menu->GetMenuItems().GetLast();
if ( !node )
{
wxLogWarning(wxT("No last item in the last menu!"));
#endif // 0
}
-void MyFrame::OnTestNormal(wxCommandEvent& event)
+void MyFrame::OnTestNormal(wxCommandEvent& WXUNUSED(event))
{
wxLogMessage(_T("Normal item selected"));
}
event.Check(FALSE);
}
-void MyFrame::OnSize(wxSizeEvent& event)
+void MyFrame::OnSize(wxSizeEvent& WXUNUSED(event))
{
if ( !m_textctrl )
return;