]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/rc/controls.xrc
Correct the fix that broke wxRegion::ConvertToBitmap().
[wxWidgets.git] / samples / xrc / rc / controls.xrc
index 3ce4f099fdb77db3098ad29f3b839c9fc1feedae..e5faea49f62f79b69c2d593edca1ef2462340414 100644 (file)
@@ -65,8 +65,7 @@
                             <rows>0</rows>
                             <vgap>0</vgap>
                             <hgap>0</hgap>
-                            <growablecols>0,1</growablecols>
-                            <growablerows>0,1</growablerows>
+                            <growablecols>1</growablecols>
                             <object class="sizeritem">
                                 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
                                 <border>5</border>
@@ -75,9 +74,8 @@
                                 </object>
                             </object>
                             <object class="sizeritem">
-                                <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
+                                <flag>wxEXPAND|wxALL</flag>
                                 <border>5</border>
-                                <size>300,60</size>
                                 <object class="wxToolBar">
                                     <style>wxTB_FLAT|wxTB_NODIVIDER</style>
                                     <margins>2,2</margins>
                                         <bitmap stock_id="wxART_GO_DOWN"/>
                                         <label>Down</label>
                                     </object>
-                                    <object class="separator"/>
+                                    <object class="space"/>
                                     <object class="wxComboBox">
                                         <content>
                                             <item>Just</item>
                                 </object>
                             </object>
                             <object class="sizeritem">
-                                <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
+                                <flag>wxEXPAND|wxALL</flag>
                                 <border>5</border>
                                 <object class="wxToolBar">
                                     <style>wxTB_FLAT|wxTB_NODIVIDER</style>
                                             </object>
                                         </dropdown>
                                     </object>
+                                    <object class="separator"/>
                                     <object class="tool" name="home">
                                         <toggle>1</toggle>
                                         <bitmap stock_id="wxART_GO_HOME"/>
                                         <bitmap stock_id="wxART_GO_DOWN"/>
                                         <label>Down</label>
                                     </object>
-                                    <object class="separator"/>
+                                    <object class="space"/>
                                     <object class="wxComboBox">
                                         <content>
                                             <item>Just</item>
                                     <style>wxCB_READONLY</style>
                                     <selection>2</selection>
                                     <object class="ownerdrawnitem">
-                                                                               <text>This is a</text>
-                                                                               <bitmap>basicdlg.xpm</bitmap>
-                                                                        </object>
+                                        <text>This is a</text>
+                                        <bitmap>basicdlg.xpm</bitmap>
+                                     </object>
                                     <object class="ownerdrawnitem">
-                                                                               <text>read-only</text>
-                                                                               <bitmap>derivdlg.xpm</bitmap>
-                                                                        </object>
+                                        <text>read-only</text>
+                                        <bitmap>derivdlg.xpm</bitmap>
+                                     </object>
                                     <object class="ownerdrawnitem">
-                                                                               <text>wxBitmapComboBox</text>
-                                                                               <bitmap>uncenter.xpm</bitmap>
-                                                                        </object>
+                                        <text>wxBitmapComboBox</text>
+                                        <bitmap>uncenter.xpm</bitmap>
+                                     </object>
                                     <object class="ownerdrawnitem">
-                                                                               <text>control</text>
-                                                                               <bitmap>custclas.xpm</bitmap>
-                                                                       </object>
+                                        <text>control</text>
+                                        <bitmap>custclas.xpm</bitmap>
+                                    </object>
                                 </object>
                             </object>
                         </object>
                     </object>
                 </object>
                 <object class="notebookpage">
-                    <label>wxGenericDirCtrl</label>
+                    <label>wxFile/DirCtrl</label>
                     <object class="wxPanel" name="genericdirctrl">
                         <object class="wxFlexGridSizer">
-                            <cols>1</cols>
-                            <rows>0</rows>
-                            <vgap>0</vgap>
-                            <hgap>0</hgap>
-                            <growablecols>0</growablecols>
-                            <growablerows>0</growablerows>
+                            <cols>2</cols>
+                            <growablecols>1</growablecols>
+                            <growablerows>1</growablerows>
+                            <object class="sizeritem">
+                                <flag>wxALIGN_CENTRE|wxALL</flag>
+                                <object class="wxStaticText">
+                                    <label>wxGenericDirCtrl</label>
+                                </object>
+                            </object>
+                            <object class="sizeritem">
+                                <flag>wxALIGN_CENTRE|wxALL</flag>
+                                <object class="wxStaticText">
+                                    <label>wxFileCtrl</label>
+                                </object>
+                            </object>
+
                             <object class="sizeritem">
                                 <flag>wxALIGN_CENTRE|wxALL</flag>
                                 <border>5</border>
                                     <size>200,200</size>
                                 </object>
                             </object>
+                            <object class="sizeritem">
+                                <flag>wxEXPAND|wxALL</flag>
+                                <border>5</border>
+                                <object class="wxFileCtrl">
+                                    <wildcard>Text files (*.txt)</wildcard>
+                                </object>
+                            </object>
                         </object>
                     </object>
                 </object>