Add strikethrough support for fonts defined in XRC

Handle this attribute as well as "underlined" for completeness.
This commit is contained in:
Vadim Zeitlin
2018-09-15 13:51:36 +02:00
parent ca164bb4ca
commit f085981601
5 changed files with 14 additions and 1 deletions

View File

@@ -1099,7 +1099,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL|wxALL</flag>
<border>5</border>
<object class="wxStaticText" name="wxID_STATIC">
<label>Slightly larger font:</label>
<label>Slightly larger strikethrough font:</label>
</object>
</object>
<object class="sizeritem">
@@ -1109,6 +1109,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
<label>It was a dark and stormy night.</label>
<font>
<size>12.5</size>
<strikethrough>1</strikethrough>
</font>
</object>
</object>