As most of the wx users, I use wx in my GUI application, so, the wxLogError will show me a error message box. But, when I use wxRegex, it sill call wxLogError when I compile a invalid regular pattern. If I suppresse the error log message box, I will lost all the error message window within the application.
I think there should be a way to avoid the error message box in wxRegEx and should normal message box in other gui modules, but there might be some more and complexed work have to be done, but it should not be a good design idea to do so. Because, wxRegEx is not GUI related, although it lives in a GUI toolkit, there is no reason to throw a GUI notifycation within a NON GUI module, right?
I do not to write code to avoid the message box, if there was a cogent reason make me have to.
Thanks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Closed #24545 as not planned.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
You can use wxLogNull to suppress the log messages in a local scope or another similar log target to redirect them somewhere.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.