]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
Fixed doubled-up key effects in wxTextCtrl by resetting m_lastMsg to 0
[wxWidgets.git] / src / common / framecmn.cpp
index 4acd32c428b78f7964043ac88c7528cf76761350..aa326ecdf824fa0fd520683cb666e5c1be377484 100644 (file)
@@ -8,12 +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"
+#include "wx/menuitem.h"
 
+#ifndef __WXGTK__
 void wxFrame::OnIdle(wxIdleEvent& WXUNUSED(event) )
 {
   DoMenuUpdates();
 }
+#endif
 
 // update all menus
 void wxFrame::DoMenuUpdates()