X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd60b9ec1e436bfa13eb94ffb69f921aef534eb0..f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220:/src/msw/mdi.cpp?ds=sidebyside diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 39ccc4c884..fe708c0538 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -35,7 +35,9 @@ #include "wx/app.h" #include "wx/utils.h" #include "wx/dialog.h" - #include "wx/statusbr.h" + #if wxUSE_STATUSBAR + #include "wx/statusbr.h" + #endif #include "wx/settings.h" #include "wx/intl.h" #include "wx/log.h" @@ -44,10 +46,14 @@ #include "wx/mdi.h" #include "wx/msw/private.h" -#if wxUSE_NATIVE_STATUSBAR - #include +#if wxUSE_STATUSBAR && wxUSE_NATIVE_STATUSBAR + #include "wx/msw/statbr95.h" #endif +#if wxUSE_TOOLBAR + #include "wx/toolbar.h" +#endif // wxUSE_TOOLBAR + #include // ---------------------------------------------------------------------------