git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			45 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="ISO-8859-1"?>
 | |
| 
 | |
| <resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
 | |
| 
 | |
| <object class="wxDialog" name="non_derived_dialog">
 | |
|     <title>Non-Derived Dialog Example</title>
 | |
|     <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>
 | |
|             <object class="wxTextCtrl" name="message_textctrl">
 | |
|                 <size>500,150</size>
 | |
|                 <style>wxTE_MULTILINE</style>
 | |
|                 <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>
 | |
|             </object>
 | |
|         </object>
 | |
|         <object class="sizeritem">
 | |
|             <flag>wxEXPAND|wxALL</flag>
 | |
|             <border>5</border>
 | |
|             <object class="wxStdDialogButtonSizer">
 | |
|                 <object class="button">
 | |
|                     <object class="wxButton" name="wxID_OK">
 | |
|                         <label>OK</label>
 | |
|                     </object>
 | |
|                 </object>
 | |
|                 <object class="button">
 | |
|                     <object class="wxButton" name="wxID_CANCEL">
 | |
|                         <label>Cancel</label>
 | |
|                     </object>
 | |
|                 </object>
 | |
|             </object>
 | |
|         </object>
 | |
|     </object>
 | |
| </object>
 | |
| 
 | |
| </resource>
 |