]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/xrc/rc/basicdlg.xrc
1. use three numbers version in win32 DLLs on unstable branch
[wxWidgets.git] / contrib / samples / xrc / rc / basicdlg.xrc
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1">
4
5 <object class="wxDialog" name="non_derived_dialog">
6 <title>Non-Derived Dialog Example</title>
7 <centered>1</centered>
8 <object class="wxFlexGridSizer">
9 <cols>1</cols>
10 <rows>0</rows>
11 <vgap>0</vgap>
12 <hgap>0</hgap>
13 <growablecols>0</growablecols>
14 <growablerows>0</growablerows>
15 <object class="sizeritem">
16 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
17 <border>5</border>
18 <object class="wxTextCtrl" name="message_textctrl">
19 <size>500,150</size>
20 <style>wxTE_MULTILINE</style>
21 <value>This is the basic non-derived XRC dialog. It is just an instance of wxDialog, not a instance of a class derived from wxDialog that was given some added functionality.\n\nYou can put whatever controls you want on these non-derived dialogs, but the dialog won't interact with the controls, nor do anything in response to any of their events. It only has the built-in functionality of a wxDialog, and that is it. A non-derived dialog can automatically close itself when you hit either the OK or Cancel button (returning a return code of what button you pressed), and not much else.\n\nThese are useful for an About dialog, or a message dialog popup, but that's about it. For the rest you will almost certainly use a derived dialog (see next example).</value>
22 </object>
23 </object>
24 <object class="sizeritem">
25 <flag>wxALIGN_CENTRE|wxALL</flag>
26 <border>5</border>
27 <object class="wxBoxSizer">
28 <orient>wxHORIZONTAL</orient>
29 <object class="sizeritem">
30 <flag>wxALIGN_CENTRE|wxALL</flag>
31 <border>5</border>
32 <object class="wxButton" name="wxID_OK">
33 <label>OK</label>
34 </object>
35 </object>
36 <object class="sizeritem">
37 <flag>wxALIGN_CENTRE|wxALL</flag>
38 <border>5</border>
39 <object class="wxButton" name="wxID_CANCEL">
40 <label>Cancel</label>
41 </object>
42 </object>
43 </object>
44 </object>
45 </object>
46 </object>
47
48 </resource>