diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index 4279126dd4..91b6a23e28 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -31,6 +31,7 @@ #if wxUSE_TOOLBAR #ifndef WX_PRECOMP + #include "wx/control.h" #endif #include "wx/frame.h" diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index af6e2fae7f..7ec5232a17 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -36,6 +36,7 @@ #include "wx/settings.h" #include "wx/bitmap.h" #include "wx/dcmemory.h" + #include "wx/control.h" #endif #if wxUSE_TOOLBAR && defined(__WIN95__) && wxUSE_TOOLBAR_NATIVE