[erlang-questions] wxErlang - wxLogNull question
Thu Oct 8 09:25:31 CEST 2009
On Thu, Oct 8, 2009 at 6:14 AM, Amit Murthy <amit.murthy@REDACTED> wrote:
> I am using the wxImage module of wxErlang to resize some images in a back
> ground process. Now, if there is an invalid file name or the image binary is
> corrupt, wxImage throws a window popup message which I don't want. The popup
> is actually coming from wxWidgets as outlined here
> and here -
> The solution is to call wxLogNull if we do not want the error popups.
> But wxErlang does not expose wxLogNull. Any particular reason why? Any other
> way to avoid the popup.
No reason I didn't know about it, send a patch :-)
> A related question - Since I am only using wxImage to resize images and not
> really having any GUI displayed at all, is it possible to use wxErlang
> without an X server running ?
I don't know
More information about the erlang-questions