get rid of the wxListString class in wxStatusBar code; introduce a wxStatusBarPane class which enormously simplifies the code handling stacks/widths/styles of panes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-12-31 12:28:05 +00:00
parent 6f97a0d599
commit 7b6fefbed1
9 changed files with 172 additions and 336 deletions

View File

@@ -63,7 +63,7 @@ public:
protected:
void CopyFieldsWidth(const int widths[]);
void SetFieldsWidth();
/*
// store the text in the status bar
wxListString **StatusTextBuffer;
void SetStatusBufferText(const wxString& text, int number);
@@ -72,6 +72,9 @@ protected:
wxListString *GetStatusBufferStack(int i) const;
void DeleteStatusBuffer();
TODO: reuse wxStatusBarBase's stack routines instead of reimplementing them here
*/
// override base class virtual
void DoMoveWindow(int x, int y, int width, int height);