// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
#include "wx/frame.h"
+#include "wx/menu.h"
+
+// wxGTK is a special case because it doesn't use the generic wxMenuItem
+// class, but it's own (already defined in wx/menu.h) one
+#ifndef __WXGTK__
+ #include "wx/menuitem.h"
+#endif //WXGTK
-void wxFrame::OnIdle(wxIdleEvent& event)
+void wxFrame::OnIdle(wxIdleEvent& WXUNUSED(event) )
{
DoMenuUpdates();
}