// Purpose: common (for all platforms) wxFrame functions
// Author: Julian Smart, Vadim Zeitlin
// Created: 01/02/97
-// Id:
+// Id: $Id$
// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-void wxFrame::OnIdle(wxIdleEvent& event)
+// 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& WXUNUSED(event) )
{
DoMenuUpdates();
}