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:
@@ -31,7 +31,16 @@ IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler)
|
||||
wxStatusBarXmlHandler::wxStatusBarXmlHandler()
|
||||
:wxXmlResourceHandler()
|
||||
{
|
||||
XRC_ADD_STYLE(wxST_SIZEGRIP);
|
||||
XRC_ADD_STYLE(wxSTB_SIZEGRIP);
|
||||
XRC_ADD_STYLE(wxSTB_SHOW_TIPS);
|
||||
XRC_ADD_STYLE(wxSTB_ELLIPSIZE_START);
|
||||
XRC_ADD_STYLE(wxSTB_ELLIPSIZE_MIDDLE);
|
||||
XRC_ADD_STYLE(wxSTB_ELLIPSIZE_END);
|
||||
XRC_ADD_STYLE(wxSTB_DEFAULT_STYLE);
|
||||
|
||||
// compat style name:
|
||||
XRC_ADD_STYLE(wxST_SIZE_GRIP);
|
||||
|
||||
AddWindowStyles();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user