Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / src / mac / classic / listbox.cpp
index 02f93f5c8d4de7e9105785073d5dc8e3b4383a23..9916e92baef988247e9b15b8d43ad1ba3eef9812 100644 (file)
 
 #if wxUSE_LISTBOX
 
-#include "wx/app.h"
 #include "wx/listbox.h"
-#include "wx/button.h"
-#include "wx/settings.h"
-#include "wx/toplevel.h"
-#include "wx/dynarray.h"
-#include "wx/log.h"
 
-#include "wx/utils.h"
+#ifndef WX_PRECOMP
+    #include "wx/dynarray.h"
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/utils.h"
+    #include "wx/button.h"
+    #include "wx/settings.h"
+#endif
+
+#include "wx/toplevel.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)