Handle wxST_ELLIPSIZE_XXX styles in wxStaticText XRC handler

Add forgotten/missing styles.

See #17850.
This commit is contained in:
tm
2017-05-28 16:05:31 +02:00
committed by Vadim Zeitlin
parent 3414fde5f6
commit 0a3720beff
2 changed files with 4 additions and 0 deletions

View File

@@ -135,6 +135,7 @@ All (GUI):
- Extend wxStyledTextCtrl::FindText() to return end position of matched - Extend wxStyledTextCtrl::FindText() to return end position of matched
text (NewPagodi). text (NewPagodi).
- Fix adding/removing items to/from wxRearrangeList. - Fix adding/removing items to/from wxRearrangeList.
- Handle wxST_ELLIPSIZE_XXX styles in wxStaticText XRC handler (tm).
wxGTK: wxGTK:

View File

@@ -34,6 +34,9 @@ wxStaticTextXmlHandler::wxStaticTextXmlHandler()
XRC_ADD_STYLE(wxALIGN_CENTRE); XRC_ADD_STYLE(wxALIGN_CENTRE);
XRC_ADD_STYLE(wxALIGN_CENTER_HORIZONTAL); XRC_ADD_STYLE(wxALIGN_CENTER_HORIZONTAL);
XRC_ADD_STYLE(wxALIGN_CENTRE_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(); AddWindowStyles();
} }