]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/rc/basicdlg.xrc
Check axis number in the received joystick messages.
[wxWidgets.git] / samples / xrc / rc / basicdlg.xrc
index 95e211a53b14e9288fb1545f81bce1489d9000fe..ae632f6e1018c288e486251044fb39b999c98a42 100644 (file)
@@ -5,7 +5,8 @@
 <object class="wxDialog" name="non_derived_dialog">
     <title>Non-Derived Dialog Example</title>
     <centered>1</centered>
 <object class="wxDialog" name="non_derived_dialog">
     <title>Non-Derived Dialog Example</title>
     <centered>1</centered>
-    <object class="wxFlexGridSizer">
+    <object class="wxBoxSizer">
+        <orient>wxVERTICAL</orient>
         <cols>1</cols>
         <rows>0</rows>
         <vgap>0</vgap>
         <cols>1</cols>
         <rows>0</rows>
         <vgap>0</vgap>
             </object>
         </object>
         <object class="sizeritem">
             </object>
         </object>
         <object class="sizeritem">
-            <flag>wxALIGN_CENTRE|wxALL</flag>
+            <flag>wxEXPAND|wxALL</flag>
             <border>5</border>
             <border>5</border>
-            <object class="wxBoxSizer">
-                <orient>wxHORIZONTAL</orient>
-                <object class="sizeritem">
-                    <flag>wxALIGN_CENTRE|wxALL</flag>
-                    <border>5</border>
+            <object class="wxStdDialogButtonSizer">
+                <object class="button">
                     <object class="wxButton" name="wxID_OK">
                         <label>OK</label>
                     </object>
                 </object>
                     <object class="wxButton" name="wxID_OK">
                         <label>OK</label>
                     </object>
                 </object>
-                <object class="sizeritem">
-                    <flag>wxALIGN_CENTRE|wxALL</flag>
-                    <border>5</border>
+                <object class="button">
                     <object class="wxButton" name="wxID_CANCEL">
                         <label>Cancel</label>
                     </object>
                     <object class="wxButton" name="wxID_CANCEL">
                         <label>Cancel</label>
                     </object>