Rename wxEllipsizeFlags elements to avoid confusion with wxEllipsizeMode.
We shouldn't use the same "wxELLIPSIZE_" prefix for two different enums, so use wxELLIPSIZE_FLAGS one for wxEllipsizeFlags (they should be used less often than wxEllipsizeMode so it's better to keep the short prefix for the latter). Also add wxELLIPSIZE_FLAGS_NONE flag. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -248,7 +248,7 @@ void wxStatusBarGeneric::DrawFieldText(wxDC& dc, const wxRect& rect, int i, int
|
||||
text = wxControl::Ellipsize(text, dc,
|
||||
ellmode,
|
||||
maxWidth,
|
||||
wxELLIPSIZE_EXPAND_TAB);
|
||||
wxELLIPSIZE_FLAGS_EXPAND_TABS);
|
||||
// Ellipsize() will do something only if necessary
|
||||
|
||||
// update the ellipsization status for this pane; this is used later to
|
||||
|
||||
Reference in New Issue
Block a user