From 4803413d5114ec96ebd65c0181c9a4f12b356e62 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Apr 2015 17:26:01 +0200 Subject: [PATCH] Accept wxALIGN_CENTRE_HORIZONTAL in wxStaticText XRC handler. In addition to wxALIGN_CENTRE, also accept this one (and its US variant). Closes #16943. --- src/xrc/xh_sttxt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrc/xh_sttxt.cpp b/src/xrc/xh_sttxt.cpp index c5de25804e..52c8336cf4 100644 --- a/src/xrc/xh_sttxt.cpp +++ b/src/xrc/xh_sttxt.cpp @@ -32,6 +32,8 @@ wxStaticTextXmlHandler::wxStaticTextXmlHandler() XRC_ADD_STYLE(wxALIGN_RIGHT); XRC_ADD_STYLE(wxALIGN_CENTER); XRC_ADD_STYLE(wxALIGN_CENTRE); + XRC_ADD_STYLE(wxALIGN_CENTER_HORIZONTAL); + XRC_ADD_STYLE(wxALIGN_CENTRE_HORIZONTAL); AddWindowStyles(); }