Don't rely on wx/button.h being included from wx/*picker.h

Include this header explicitly in the sample instead of relying on its
indirect inclusion from wx/filepicker.h or wx/dirpicker.h respectively.

No changes yet, but this will become important once wx/gtk/filepicker.h
doesn't include wx/button.h any longer.
This commit is contained in:
Vadim Zeitlin
2024-04-08 22:32:17 +02:00
parent 250b96aa5a
commit 424502b895
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@
// for all others, include the necessary headers
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/button.h"
#include "wx/log.h"
#include "wx/radiobox.h"
#include "wx/statbox.h"