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:
@@ -89,9 +89,9 @@ bool wxStatusBar::Create(wxWindow *parent,
|
||||
// setting SBARS_SIZEGRIP is perfectly useless: it's always on by default
|
||||
// (at least in the version of comctl32.dll I'm using), and the only way to
|
||||
// turn it off is to use CCS_TOP style - as we position the status bar
|
||||
// manually anyhow (see DoMoveWindow), use CCS_TOP style if wxST_SIZEGRIP
|
||||
// manually anyhow (see DoMoveWindow), use CCS_TOP style if wxSTB_SIZEGRIP
|
||||
// is not given
|
||||
if ( !(style & wxST_SIZEGRIP) )
|
||||
if ( !(style & wxSTB_SIZEGRIP) )
|
||||
{
|
||||
wstyle |= CCS_TOP;
|
||||
}
|
||||
|
Reference in New Issue
Block a user