Yuriy Tkachenko wrote:
Hello,
I want to open a modeless dialog from a modal dialog.
In wxMSW it works fine (almost fine).
In wxGTK it disables all windows in my application.
Are there any suggestions?P.S. The way I tried to do this:
...
dlg1=wxDialog(parentwxframe, **parameters)
dlg2=wxDialog(dlg1, **parameters)
...
#Call from parent wxFrame
dlg1.ShowModal()
...
#Call from dlg1
dlg2.Show()
dlg2.Enable(True)
dlg2.TextControl.SetFocus()
...
Don't create dlg2 until you are bout to show it. wxGTK will disable all existing windows when you do a ShowModal.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!