fix wX XRC for wX 3.2
Some sizeritems in horizontal box sizers had the wxALIGN_RIGHT flag, which makes no sense in horizontal sizers, since they allow only aligning things vertically. This was throwing XRC errors on startup. Remove the erroneous wxALIGN_RIGHT flags from the XRC.
This commit is contained in:
parent
94b62b13b3
commit
d5020b905c
|
@ -93,7 +93,7 @@
|
|||
<object class="wxButton" name="Reset">
|
||||
<label>Restore</label>
|
||||
</object>
|
||||
<flag>wxALL|wxALIGN_RIGHT</flag>
|
||||
<flag>wxALL</flag>
|
||||
<border>5</border>
|
||||
</object>
|
||||
<orient>wxHORIZONTAL</orient>
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
</object>
|
||||
<object class="sizeritem">
|
||||
<object class="wxButton" name="wxID_CLOSE"/>
|
||||
<flag>wxALL|wxALIGN_RIGHT</flag>
|
||||
<flag>wxALL</flag>
|
||||
<border>5</border>
|
||||
</object>
|
||||
<orient>wxHORIZONTAL</orient>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<label>Emulated _system :</label>
|
||||
</object>
|
||||
<option>1</option>
|
||||
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
|
||||
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
|
||||
<border>5</border>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
|
@ -48,7 +48,7 @@
|
|||
<label>Display _borders :</label>
|
||||
</object>
|
||||
<option>1</option>
|
||||
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
|
||||
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
|
||||
<border>5</border>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<label>_Rewind interval :</label>
|
||||
<tooltip>If not empty or 0, enable rewind (seconds)</tooltip>
|
||||
</object>
|
||||
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
|
||||
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
|
||||
<border>5</border>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
|
|
Loading…
Reference in New Issue