#if wxUSE_STATUSBAR
-#include "wx/window.h"
+#include "wx/control.h"
#include "wx/list.h"
#include "wx/dynarray.h"
// wxStatusBar: a window near the bottom of the frame used for status info
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxStatusBarBase : public wxWindow
+class WXDLLIMPEXP_CORE wxStatusBarBase : public wxControl
{
public:
wxStatusBarBase();