diff --git a/include/wx/generic/busyinfo.h b/include/wx/generic/busyinfo.h index 143d7bd375..0151a76b3b 100644 --- a/include/wx/generic/busyinfo.h +++ b/include/wx/generic/busyinfo.h @@ -12,8 +12,6 @@ #include "wx/defs.h" -#include "wx/frame.h" - #if wxUSE_BUSYINFO class WXDLLIMPEXP_CORE wxFrame; diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index e11108364a..f010b2fa67 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -17,6 +17,7 @@ // for all others, include the necessary headers #ifndef WX_PRECOMP + #include "wx/frame.h" #include "wx/stattext.h" #include "wx/panel.h" #include "wx/utils.h"