X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f701d7abc1d35bdbee686cbe2b541b1b5119bf31..6f34921d9369a31de14e4b07e4824e2d701710f0:/src/common/framecmn.cpp?ds=sidebyside diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 00ceb8bfe3..e76404c9c9 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -17,7 +17,12 @@ #include "wx/frame.h" #include "wx/menu.h" -#include "wx/menuitem.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) ) {