]> git.saurik.com Git - wxWidgets.git/blame - samples/xrc/rc/basicdlg.xrc
Check axis number in the received joystick messages.
[wxWidgets.git] / samples / xrc / rc / basicdlg.xrc
CommitLineData
af1337b0
JS
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
be5a51fb 3<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
af1337b0
JS
4
5<object class="wxDialog" name="non_derived_dialog">
6 <title>Non-Derived Dialog Example</title>
7 <centered>1</centered>
172541f6
VS
8 <object class="wxBoxSizer">
9 <orient>wxVERTICAL</orient>
af1337b0
JS
10 <cols>1</cols>
11 <rows>0</rows>
12 <vgap>0</vgap>
13 <hgap>0</hgap>
14 <growablecols>0</growablecols>
15 <growablerows>0</growablerows>
16 <object class="sizeritem">
17 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
18 <border>5</border>
19 <object class="wxTextCtrl" name="message_textctrl">
20 <size>500,150</size>
21 <style>wxTE_MULTILINE</style>
22 <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>
23 </object>
24 </object>
25 <object class="sizeritem">
172541f6 26 <flag>wxEXPAND|wxALL</flag>
af1337b0 27 <border>5</border>
172541f6
VS
28 <object class="wxStdDialogButtonSizer">
29 <object class="button">
af1337b0
JS
30 <object class="wxButton" name="wxID_OK">
31 <label>OK</label>
32 </object>
33 </object>
172541f6 34 <object class="button">
af1337b0
JS
35 <object class="wxButton" name="wxID_CANCEL">
36 <label>Cancel</label>
37 </object>
38 </object>
39 </object>
40 </object>
41 </object>
42</object>
43
44</resource>