Include wx/listbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,13 +23,6 @@
|
||||
|
||||
#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
|
||||
@@ -51,6 +44,14 @@
|
||||
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)
|
||||
|
Reference in New Issue
Block a user