]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menu.cpp
allow claling Unassociate() on previously not initialized wxMimeTypesManager
[wxWidgets.git] / src / motif / menu.cpp
index 9bc0d3a2afacb2209075ebaddfc69ab292c9255f..d40bdc74bffe38ef7d2287640a52857c37bb28d5 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/defs.h"
-
 #include "wx/menu.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/utils.h"
+    #include "wx/frame.h"
+    #include "wx/settings.h"
+#endif
+
 #include "wx/menuitem.h"
-#include "wx/log.h"
-#include "wx/utils.h"
-#include "wx/app.h"
-#include "wx/frame.h"
-#include "wx/settings.h"
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -731,4 +733,3 @@ bool wxMenuBar::SetFont(const wxFont& font)
 
     return true;
 }
-