Reply from Robin regarding the modal stuff - Havn't thought about how to
apply this yet.
Richard, can you forward this to the appropriate list and/or Robin Dunn ?
Does it make a difference what the dialog's parent window is? Try using
wxGetTopLevelParent(self) or perhaps None.
None didn't.
wxGetTopLevelParent() does.
Note that that patient picklist is a wxDialog. Only if I use
GetTopLevel...() on the (passed in) *parent* of the wxDialog
do I get the right behaviour. That parent is (in the standalone
test code) a wxTextCtrl, eg.:
cPatientSelector(wxTextCtrl)
-> picklist = cPatPickList(parent=self) eg parent=wxTextCtrl descendant
-> wxDialog(parent=parent) eg parent=wxTextCtrl descendant
Which platform and version are you working with?
Happens on
Linux (Suse 7.3)
Python 2.2
wxPythonGTK-py2.2-2.4.0.6
but also on more recent versions.
Karsten
ยทยทยท
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
_______________________________________________
Gnumed-devel mailing list
Gnumed-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gnumed-devel