Fix widgets sample build when using precompiled headers

wx/artprov.h is not included from wx/wx.h, so it needs to be always
included from this header and not only when !WX_PRECOMP.
This commit is contained in:
Vadim Zeitlin
2019-01-19 23:02:09 +01:00
parent 4fabf5238f
commit 2a452c0b60

View File

@@ -27,7 +27,6 @@
// for all others, include the necessary headers
#ifndef WX_PRECOMP
#include "wx/artprov.h"
#include "wx/button.h"
#include "wx/checkbox.h"
#include "wx/radiobox.h"
@@ -38,6 +37,8 @@
#include "wx/headerctrl.h"
#include "wx/artprov.h"
#include "widgets.h"
#include "icons/header.xpm"