]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
Various Dialog Editor-related mods; Dlg Ed. getting usable now under MSW.
[wxWidgets.git] / src / common / framecmn.cpp
index 19985714d31510ff15cc37baab8b0a3db89c6942..e76404c9c9f512e4d637bd908d5cf665e6eef521 100644 (file)
@@ -8,9 +8,23 @@
 // 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();
 }