]> git.saurik.com Git - wxWidgets.git/commitdiff
Misc validity fixes to samples/xrc/rc/*.xrc.
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 3 Oct 2013 11:08:54 +0000 (11:08 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 3 Oct 2013 11:08:54 +0000 (11:08 +0000)
Fix invalid XRC markup.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/xrc/rc/basicdlg.xrc
samples/xrc/rc/controls.xrc
samples/xrc/rc/objref.xrc
samples/xrc/rc/platform.xrc
samples/xrc/rc/resource.xrc

index ae632f6e1018c288e486251044fb39b999c98a42..55857ca13f7fdf4edc25b8cd7b03a429bd20fbfb 100644 (file)
@@ -7,12 +7,6 @@
     <centered>1</centered>
     <object class="wxBoxSizer">
         <orient>wxVERTICAL</orient>
-        <cols>1</cols>
-        <rows>0</rows>
-        <vgap>0</vgap>
-        <hgap>0</hgap>
-        <growablecols>0</growablecols>
-        <growablerows>0</growablerows>
         <object class="sizeritem">
             <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
             <border>5</border>
index 627ea092eca1e69e53238c6deaab9946c0d65c9a..1442be70af3ac53eaa7ad80adaac549d5f46074e 100644 (file)
@@ -416,7 +416,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
                                 <object class="wxGauge" name="controls_horizontal_gauge">
                                     <style>wxGA_SMOOTH</style>
                                     <size>100,-1</size>
-                                    <max>100</max>
+                                    <range>100</range>
                                     <value>50</value>
                                 </object>
                             </object>
@@ -433,7 +433,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
                                 <object class="wxGauge" name="controls_vertical_gauge">
                                     <style>wxGA_VERTICAL</style>
                                     <size>40,60</size>
-                                    <max>100</max>
+                                    <range>100</range>
                                     <value>40</value>
                                 </object>
                             </object>
@@ -472,6 +472,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
                                 <border>5</border>
                                 <object class="wxFileCtrl">
                                     <wildcard>Text files (*.txt)</wildcard>
+                                    <message>Choose file</message>
                                 </object>
                             </object>
                         </object>
@@ -1321,6 +1322,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
                                         <depth>1</depth>
                                         <image>1</image>
                                         <expanded>1</expanded>
+                                        <object class="wxPanel"/>
                                     </object>
                                     <object class="treebookpage">
                                         <label>Page 3</label>
index 7028045d69d54c1bb507dc573401bd493fcd813e..9ce846bfcc5ddb4663f4e0635461b1d0c57fed2f 100644 (file)
@@ -25,7 +25,6 @@
                 <vgap>0</vgap>
                 <hgap>10</hgap>
                 <growablecols>0</growablecols>
-                <growablerows>0</growablerows>
                 <growablerows>1</growablerows>
               </object>
             </object>
                 <vgap>0</vgap>
                 <hgap>10</hgap>
                 <growablecols>0</growablecols>
-                <growablerows>0</growablerows>
                 <growablerows>2</growablerows>
               </object>
             </object>
                 <vgap>0</vgap>
                 <hgap>10</hgap>
                 <growablecols>0</growablecols>
-                <growablerows>0</growablerows>
                 <growablerows>2</growablerows>
               </object>
             </object>
index 43313cb8534b9a25738c07d4b522f192bf417768..d2056527d3086db64c312c811363dd154a32c806 100644 (file)
@@ -25,7 +25,6 @@
             <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
             <border>5</border>
             <object class="wxNotebook" name="platform_notebook">
-                <usenotebooksizer>1</usenotebooksizer>
                 <size>200,160</size>
                 <object class="notebookpage">
                     <label>Shared options</label>
                 <label>Get latest update at www.mycompany.com/download/unix</label>
             </object>
         </object>    
-        <object platform="os2kurva" class="sizeritem">
+        <object platform="os2" class="sizeritem">
             <flag>wxALIGN_CENTRE|wxALL</flag>
             <border>5</border>
             <object class="wxStaticText" name="download_os2_statictext">
index bb510a3555fb9fcdc3a27a6e96e64f08a045350e..868bd4986fcd20b5569bcb698fbf120a3a119459 100644 (file)
@@ -37,7 +37,7 @@
       <bitmap>update.gif</bitmap>
       <tooltip>Update catalog - synchronize it with sources</tooltip>
     </object>
-    <separator/>
+    <object class="separator"/>
     <object class="tool" name="menu_quotes">
       <bitmap>quotes.gif</bitmap>
       <toggle>1</toggle>
             </object>
             <label>Page 2</label>
           </object>
-          <usenotebooksizer>1</usenotebooksizer>
         </object>
         <flag>wxEXPAND</flag>
       </object>