Handle wxST_ELLIPSIZE_XXX styles in wxStaticText XRC handler
Add forgotten/missing styles. See #17850.
This commit is contained in:
parent
3414fde5f6
commit
0a3720beff
@ -135,6 +135,7 @@ All (GUI):
|
||||
- Extend wxStyledTextCtrl::FindText() to return end position of matched
|
||||
text (NewPagodi).
|
||||
- Fix adding/removing items to/from wxRearrangeList.
|
||||
- Handle wxST_ELLIPSIZE_XXX styles in wxStaticText XRC handler (tm).
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
@ -34,6 +34,9 @@ wxStaticTextXmlHandler::wxStaticTextXmlHandler()
|
||||
XRC_ADD_STYLE(wxALIGN_CENTRE);
|
||||
XRC_ADD_STYLE(wxALIGN_CENTER_HORIZONTAL);
|
||||
XRC_ADD_STYLE(wxALIGN_CENTRE_HORIZONTAL);
|
||||
XRC_ADD_STYLE(wxST_ELLIPSIZE_START);
|
||||
XRC_ADD_STYLE(wxST_ELLIPSIZE_MIDDLE);
|
||||
XRC_ADD_STYLE(wxST_ELLIPSIZE_END);
|
||||
AddWindowStyles();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user