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:
@@ -19,6 +19,11 @@
|
||||
#include "wx/pen.h"
|
||||
#include "wx/arrstr.h"
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxStatusBarGeneric
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxStatusBarGeneric : public wxStatusBarBase
|
||||
{
|
||||
public:
|
||||
@@ -87,11 +92,13 @@ protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
// the array of the currently displayed strings
|
||||
wxArrayString m_statusStrings;
|
||||
|
||||
// the last known width of the client rect (used to rebuild cache)
|
||||
int m_lastClientWidth;
|
||||
// the widths of the status bar panes in pixels
|
||||
|
||||
// the absolute widths of the status bar panes in pixels
|
||||
wxArrayInt m_widthsAbs;
|
||||
|
||||
int m_borderX;
|
||||
|
Reference in New Issue
Block a user