SV: Re: SV: Re: wxGTK, wxLogGui, mouse capture, brings down Gnome
Arne Steinarson
asteinarson at yahoo.se
Mon Jul 2 17:42:29 PDT 2007
I think in this regard (popping up dialogs in any
situation), that Windows is more robust than GTK. Does
wxMSW do some special handling or does Windows handle
this by itself (release capture message triggered).
My suggestion is to put the method in wxDialog (for
GTK) and not in wxDialogBase. One can consider if this
should be done on the more general level as well.
Regards
// ATS
--- Vadim Zeitlin <vadim at wxwidgets.org> skrev:
> On Mon, 2 Jul 2007 13:12:50 +0200 (CEST) Arne
> Steinarson <asteinarson at yahoo.se> wrote:
>
> AS> Calling ungrab in wxDialog::ShowModal solves the
> AS> problem of the whole of Gnome freezing
> (wxLogDialog
> AS> derives from wxDialog).
> AS>
> AS> However, the application does not get a
> notification
> AS> that capture was lost. One should send a
> AS> wxMouseCaptureLostEvent to the app when
> releasing the
> AS> capture in this way.
>
> Yes, absolutely.
>
> AS> How about a:
> AS> static wxWindowGTK::ReleaseCaptureInternal
> AS>
> AS> which can be called from wxDialog::ShowModal
> that
> AS> would emit wxMouseCaptureLostEvent to the app?
>
> Unless there is some way to make GTK+ do something
> automatically on its
> own when a modal dialog is shown this seems like a
> good idea to me.
>
> Regards,
> VZ
> --
> TT-Solutions: wxWidgets consultancy and technical
> support
> http://www.tt-solutions.com/
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail:
> wx-users-help at lists.wxwidgets.org
>
>
- - -
Låt vårkänslorna spira!
Hitta din tvillingsjäl på Yahoo! Dejting: http://se.meetic.yahoo.net
More information about the wx-users
mailing list