wxTextCtrl in wxDialog

new topic     » topic index » view thread      » older message » newer message

Is it not permitted to use a wxTextCtrl in a wxDialog?
If so, how do I enter multiple values in a Dialog?

This fails with a machine-level exception when the Dialog is closed:

include wxeud.e 
 
constant 
main	= create( wxFrame, {0, -1, "", -1, -1, 200, 320}), 
win		= create( wxPanel, main ), 
dlg = create( wxDialog, {main, -1, "Dialog"}), 
TextControl1 = create( wxTextCtrl, {dlg, -1, "", 10, 20, 50, 20} ), 
TextControl2 = create( wxTextCtrl, {dlg, -1, "", 70, 20, 50, 20} ), 
TextControl3 = create( wxTextCtrl, {dlg, -1, "", 130, 20, 50, 20} ) 
 
show_modal( dlg ) 
 
destroy( dlg ) 
	  
wxMain( main ) 
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu