Include required headers explicitly in the widgets sample

Don't rely on wx/treebook.h pulling in wx/treectrl.h and wx/textctrl.h,
forward declare or include the headers declaring the classes from these
headers explicitly where needed.
This commit is contained in:
Vadim Zeitlin
2018-03-24 19:14:52 +01:00
parent 0c4c5a2aa9
commit bf30fa7490
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@
#include "wx/numdlg.h"
#include "wx/textdlg.h"
#include "wx/imaglist.h"
#include "wx/treectrl.h"
#include "wx/wupdlock.h"
#include "wx/textcompleter.h"