diff --git a/src/univ/menu.cpp b/src/univ/menu.cpp index 11215d72a7..ea1a95aa5b 100644 --- a/src/univ/menu.cpp +++ b/src/univ/menu.cpp @@ -142,7 +142,7 @@ public: // when the cursor is inside the popup, which dsables the menu tracking // so override it to do nothing #ifdef __WXMSW__ - void OnIdle(wxIdleEvent& event) { } + void OnIdle(wxIdleEvent& WXUNUSED(event)) { } #endif // get the currently selected item (may be NULL)