gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Re: [Gnumed-devel] Re: [wxPython-users] Modal window not


From: Karsten Hilbert
Subject: address@hidden: Re: [Gnumed-devel] Re: [wxPython-users] Modal window not behaving modally]
Date: Tue, 24 Aug 2004 17:32:46 +0200
User-agent: Mutt/1.3.22.1i

Robin,

just found your address so here goes:

----- Forwarded message from Karsten Hilbert <address@hidden> -----
> > 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
----- End forwarded message -----

-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]