lmi
[Top][All Lists]
Advanced

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

Re[2]: wx-2.9.0 messagebox scrolling [Was: [lmi] help with orphan-contro


From: Vadim Zeitlin
Subject: Re[2]: wx-2.9.0 messagebox scrolling [Was: [lmi] help with orphan-control in xsl-fo]
Date: Wed, 20 May 2009 18:47:24 +0200

On Tue, 19 May 2009 15:04:49 +0000 Greg Chicares <address@hidden> wrote:

GC> Sorry, false alarm. An exception with a really long what() is thrown,
GC> and then caught via report_exception(), which somewhat conservatively
GC> calls safely_show_message() to report it using a native messagebox.

 I see, sorry for not realizing it myself.

GC> If I experimentally replace that with wxMessageBox(), then a scrollbar
GC> does appear. I don't want to put that change into production, though:
GC> the extra safety of safely_show_message() may be crucial in some case,
GC> and I haven't time to prove otherwise.

 I can't really prove it neither but under MSW wxMessageBox() is a trivial
wrapper around the native MessageBox() function and while the code adding
scrollbars if necessary does add to the complexity of this wrapper, it's
quite unlikely to crash the application unless it's in a very sorry state
already (e.g. an almost complete exhaustion of the stack would do this).

 Regards,
VZ

reply via email to

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