Include wx/string.h from the files that use wxString

Don't rely on this header being implicitly included by wx/object.h even
though it does include it right now.

No real changes.
This commit is contained in:
Vadim Zeitlin 2023-01-05 18:58:24 +01:00
parent d5b66e4e57
commit bdc260bf53
3 changed files with 3 additions and 0 deletions

View file

@ -16,6 +16,7 @@
#if wxUSE_ACCEL
#include "wx/object.h"
#include "wx/string.h"
class WXDLLIMPEXP_FWD_CORE wxAcceleratorTable;
class WXDLLIMPEXP_FWD_CORE wxMenuItem;

View file

@ -12,6 +12,7 @@
#define _WX_MODULE_H_
#include "wx/object.h"
#include "wx/string.h"
#include "wx/vector.h"
class wxModule;

View file

@ -12,6 +12,7 @@
#include "wx/encconv.h"
#include "wx/string.h"
#include <stdlib.h>