]> git.saurik.com Git - wxWidgets.git/commitdiff
make Ok button in the dialog the default one as people expect it (see bug 1582051)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Nov 2006 15:02:49 +0000 (15:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Nov 2006 15:02:49 +0000 (15:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/xrc/rc/controls.xrc

index d3d079c9161472a9477a72c6d185667536955627..ffc6413fcc89df86a457d548c9071cbd949ed705 100644 (file)
@@ -1234,6 +1234,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
             <border>5</border>
             <object class="wxButton" name="wxID_OK">
                 <label>OK</label>
+                <default>1</default>
             </object>
         </object>
     </object>