[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Use wxWidgets support for safely showing message boxes
From: |
Greg Chicares |
Subject: |
Re: [lmi] Use wxWidgets support for safely showing message boxes |
Date: |
Thu, 23 Feb 2023 15:37:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 |
On 2/23/23 14:37, Vadim Zeitlin wrote:
> On Thu, 23 Feb 2023 00:58:27 +0000 Greg Chicares <gchicares@sbcglobal.net>
> wrote:
>
> GC> On 2/23/23 00:00, Vadim Zeitlin wrote:
> GC> [...]
> GC> > This looks like a chicken and egg problem to me: we need wx to show the
> GC> > message box, but this function is only [supposed to be] used when wx is
> not
> GC> > available, so it does seem like it can't use it, almost by definition.
> GC> >
> GC> > But please let me know if I do miss something here
> GC>
> GC> Yet msw seems to have solved the chicken and egg problem,
>
> By conflating the chicken and the egg: there is no such thing as a MSW
> system without a GUI, so MessageBox() can always be shown. Under Unix this
> is not the case, of course, you can have perfectly functional Unix systems
> without any GUI at all, and hence without any way to show a message box.
Ah. Of course. Thanks.
> I'm sorry but I really don't see how could we possibly improve this.
Agreed.