]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
don't send wxHelpEvent generated for WM_HELP to all window parents, wxHelpEvent is...
[wxWidgets.git] / src / generic / listctrl.cpp
index d82d81b3327b097e633e1b32eb9eb0a351758a64..4eccdff7f6ed82f798fa40aaf89705a0d9aadc6b 100644 (file)
 
 #if wxUSE_LISTCTRL
 
-#ifndef WX_PRECOMP
-    #include "wx/dynarray.h"
-    #include "wx/app.h"
-    #include "wx/dcscreen.h"
-    #include "wx/textctrl.h"
-#endif
-
 // under Win32 we always use the native version and also may use the generic
 // one, however some things should be done only if we use only the generic
 // version
     IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxGenericListCtrl)
 #endif // HAVE_NATIVE_LISTCTRL/!HAVE_NATIVE_LISTCTRL
 
+#ifndef WX_PRECOMP
+    #include "wx/dynarray.h"
+    #include "wx/app.h"
+    #include "wx/dcscreen.h"
+    #include "wx/textctrl.h"
+    #include "wx/listbox.h"
+#endif
+
 #include "wx/selstore.h"
 #include "wx/renderer.h"
 #include "wx/math.h"
@@ -5448,10 +5449,6 @@ bool wxGenericListCtrl::SetFont( const wxFont &font )
     return true;
 }
 
-#if _USE_VISATTR
-#include "wx/listbox.h"
-#endif
-
 // static
 wxVisualAttributes
 wxGenericListCtrl::GetClassDefaultAttributes(wxWindowVariant variant)