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

Re: [XaraXtreme-dev] XCode - built Mac Version will not display wxXtra SplashScreen



Ben,

The constructor call the wxFrame constructor. This seems to set off a
race in which the main window decides that splash screen needs to be
taken down, and this destroys the Splash bitmap.

The wxAdvSplashScreen tries to clone this bitmap by incrementing the
m_refData, which, the latter's now being an invalid pointer, causes an
E_BADACCESS.

Am I talking nonsense?

I don't think so. FilterEvent in camelot.cpp looks for a TLW being
created (it's looking for error dialogs including those from wxWidgets
as well as the main frame) as a signal to destroy the splash screen.

Is this Mac only? If so, why?

Delayed window destruction on GTK I expect. Or possibly timing of the
Event such that on GTK it is sent before the splash screen itself
has been created.

Try the fix in r1381. Thanks.

Alex