Derive wxStatusBar from wxControl and not wxWindow.

wxStatusBar is no less a control than wxToolBar and deriving it from wxControl
gives access to convenient native control creation functions under MSW (which
will be used by the next commit).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-11-22 01:22:36 +00:00
parent c22bbd087a
commit f771bae35a
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
#if wxUSE_STATUSBAR
#include "wx/window.h"
#include "wx/control.h"
#include "wx/list.h"
#include "wx/dynarray.h"
@@ -106,7 +106,7 @@ WX_DECLARE_EXPORTED_OBJARRAY(wxStatusBarPane, wxStatusBarPaneArray);
// 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();

View File

@@ -83,7 +83,7 @@ public:
@see wxStatusBarPane, wxFrame, @ref page_samples_statbar
*/
class wxStatusBar : public wxWindow
class wxStatusBar : public wxControl
{
public:
/**