[wxPython-users] Cannot close a dialog on Linux with
wx.WS_EX_VALIDATE_RECURSIVELY
Robin Dunn
robin at alldunn.com
Tue Feb 26 18:37:05 PST 2008
Tai Tran Tan wrote:
> Hi Robin,
>
> [Robin]: Do any of the widgets in the dialog have a validator that is
> failing?
>
> My dialog has only one direct child, a notebook, and all the controls are
> the children of tabs in this notebook. Some controls use validators to
> validate and transfer data to/from.
>
> If I set wx.WS_EX_VALIDATE_RECURSIVELY to the dialog, no validators fail,
> everything works OK except I cannot close the dialog with the (X) button on
> Linux. I have to close the dialog by the Cancel button.
>
> It seems that every time I set wx.WS_EX_VALIDATE_RECURSIVELY to the dialog,
> I cannot close it on Linux regardless of whether this dialog has children
> controls with validators or not.
How are you setting the style? Are you doing anything that would clear
the default wx.CLOSE_BOX style?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list