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:
@@ -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">
|
||||
|
Reference in New Issue
Block a user