use wxSTB_ as prefix for wxStatusBar styles; add support for wxSTB_ELLIPSIZE_* flags under wxGTK; support wxSTB_SHOW_TIPS even if no ellipsization mode is active; update the sample to allow the user to choose the wxStatusBar style dynamically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,7 +23,7 @@ public:
|
||||
wxStatusBar();
|
||||
wxStatusBar(wxWindow *parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
long style = wxST_DEFAULT_STYLE,
|
||||
long style = wxSTB_DEFAULT_STYLE,
|
||||
const wxString& name = wxStatusBarNameStr)
|
||||
{
|
||||
m_pDC = NULL;
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
long style = wxST_DEFAULT_STYLE,
|
||||
long style = wxSTB_DEFAULT_STYLE,
|
||||
const wxString& name = wxStatusBarNameStr);
|
||||
|
||||
virtual ~wxStatusBar();
|
||||
|
Reference in New Issue
Block a user