Add XRC handler for wxActivityIndicator control.

The only attribute for this control is a boolean "running" which can be set to
start the indicator on load.

Update the schema, documentation and the XRC sample.
This commit is contained in:
Vadim Zeitlin
2015-03-18 16:10:31 +01:00
parent 3f84cb17ca
commit d2ddb2c7c0
22 changed files with 409 additions and 111 deletions

View File

@@ -21,6 +21,48 @@
<object class="wxChoicebook" name="controls_book">
<size>550,250</size>
<object class="choicebookpage">
<label>wxActivityIndicator</label>
<object class="wxPanel">
<object class="wxFlexGridSizer">
<cols>2</cols>
<rows>2</rows>
<object class="sizeritem">
<flag>wxALIGN_CENTRE|wxALL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Small indicator</label>
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTRE|wxALL</flag>
<border>5</border>
<object class="wxActivityIndicator">
<variant>small</variant>
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTRE|wxALL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Active indicator</label>
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTRE|wxALL</flag>
<border>5</border>
<object class="wxActivityIndicator">
<running>1</running>
</object>
</object>
</object>
</object>
</object>
<object class="choicebookpage">
<label>wxAnimationCtrl</label>
<object class="wxPanel" name="animctrl">