Re: #2376: wxMessageBox in AppInit generates a dump unter X11

3 views
Skip to first unread message

wxTrac

unread,
Nov 20, 2012, 3:01:06 PM11/20/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:3>

#2376: wxMessageBox in AppInit generates a dump unter X11
----------------------+-----------------------------------------------------
Reporter: stueben | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxX11 | Version:
Resolution: | Keywords:
Blockedby: | Patch: 0
Blocking: |
----------------------+-----------------------------------------------------

Comment(by oneeyeman):

There is no Initialize() function to override in TRUNK, only OnInit().
And moving this code in OnInit() in X11 configuration does not crash.

Can be closed.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:3>

wxTrac

unread,
Nov 20, 2012, 6:23:00 PM11/20/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:4>

#2376: wxMessageBox in AppInit generates a dump unter X11
----------------------+-----------------------------------------------------
Reporter: stueben | Owner:
Type: defect | Status: new
Priority: lowest | Milestone:
Component: wxX11 | Version:
Resolution: | Keywords:
Blockedby: | Patch: 0
Blocking: |
----------------------+-----------------------------------------------------
Changes (by vadz):

* cc: vadz (removed)
* priority: normal => lowest


Comment:

There is `wxApp::Initialize()` and while it's true that it shouldn't be
necessary to override it instead of `OnInit()` normally, I think you're
still allowed to use the GUI after calling the base class version. So
ideally this should work but fixing this is frankly not a priority.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:4>

wxTrac

unread,
Nov 20, 2012, 7:08:32 PM11/20/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:5>

#2376: wxMessageBox in AppInit generates a dump unter X11
----------------------+-----------------------------------------------------
Reporter: stueben | Owner:
Type: defect | Status: new
Priority: lowest | Milestone:
Component: wxX11 | Version:
Resolution: | Keywords:
Blockedby: | Patch: 0
Blocking: |
----------------------+-----------------------------------------------------

Comment(by oneeyeman):

Vadim,
It does work.
Just tested the code in the OP and there is no more crash.

Can be closed.

For some reason I couldn't find wxApp::Initialize() in the docs.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:5>

wxTrac

unread,
Nov 23, 2012, 7:34:32 AM11/23/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:6>

#2376: wxMessageBox in AppInit generates a dump unter X11
-----------------------+----------------------------------------------------
Reporter: stueben | Owner:
Type: defect | Status: closed
Priority: lowest | Milestone:
Component: wxX11 | Version:
Resolution: outdated | Keywords:
Blockedby: | Patch: 0
Blocking: |
-----------------------+----------------------------------------------------
Changes (by vadz):

* status: new => closed
* resolution: => outdated



--
Ticket URL: <http://trac.wxwidgets.org/ticket/2376#comment:6>
Reply all
Reply to author
Forward
0 new messages