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:
@@ -222,7 +222,7 @@ public:
|
||||
|
||||
@see SetStatusText(), OnCreateStatusBar(), GetStatusBar()
|
||||
*/
|
||||
virtual wxStatusBar* CreateStatusBar(int number = 1, long style = wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
|
||||
virtual wxStatusBar* CreateStatusBar(int number = 1, long style = wxSTB_DEFAULT_STYLE,
|
||||
wxWindowID id = 0,
|
||||
const wxString& name = wxStatusLineNameStr);
|
||||
|
||||
@@ -373,6 +373,9 @@ public:
|
||||
/**
|
||||
Associates a status bar with the frame.
|
||||
|
||||
If @a statusBar is @NULL, then the status bar, if present, is detached from
|
||||
the frame, but @e not deleted.
|
||||
|
||||
@see CreateStatusBar(), wxStatusBar, GetStatusBar()
|
||||
*/
|
||||
virtual void SetStatusBar(wxStatusBar* statusBar);
|
||||
|
Reference in New Issue
Block a user