double wxMenuItem definition problem fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,7 +17,12 @@
|
|||||||
|
|
||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
#include "wx/menu.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) )
|
void wxFrame::OnIdle(wxIdleEvent& WXUNUSED(event) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user