Handle wxST_ELLIPSIZE_XXX styles in wxStaticText XRC handler
Add forgotten/missing styles. See #17850.
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
|
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user