]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/mdig.cpp
Need to reset count when all items are deleted
[wxWidgets.git] / src / generic / mdig.cpp
index 048d45b41333b091ad760517839bdae99289c5bc..0e2f44031ca7d278c6877bee3d41899289414798 100644 (file)
@@ -568,6 +568,8 @@ void wxGenericMDIChildFrame::OnMenuHighlight(wxMenuEvent& event)
         // but may be the MDI frame does?
         m_pMDIParentFrame->OnMenuHighlight(event);
     }
+#else
+    wxUnusedVar(event);
 #endif // wxUSE_STATUSBAR
 }