search for: wxtheapp

Displaying 2 results from an estimated 2 matches for "wxtheapp".

Did you mean: theapp
2004 May 01
4
wxruby-swig 0.0.13 is up
...wxWindows automatically deletes the C++ app object as soon as the last frame is closed. Later, when ruby garbage collected the ruby Wx::App object, it was trying to delete the C++ app (again). Thud. The solution was to prevent wxWindows from deleting the app object. It keeps a global pointer (wxTheApp) around, so I just zeroed it out before getting to the code that does the delete. There is a chance that this might have problems on other platforms, IF any platform-specific wxWindows makes some bad assumptions. After I fixed that, I started seeing a different crash. That one was easy to fix,...
2007 Jan 03
0
[824] trunk/wxruby2/swig/classes/App.i: Remove some ifdefs for old unstable versions of WxWidgets
...class="lines">@@ -105,9 +95,6 @@ </span><span class="cx"> printf("survived gc\n"); </span><span class="cx"> #endif </span><span class="cx"> </span><del>-#if !wxCHECK_VERSION(2,5,0) - wxTheApp = 0; -#endif </del><span class="cx"> wxLog *oldlog = wxLog::SetActiveTarget(new wxLogStderr); </span><span class="cx"> SetTopWindow(0); </span><span class="cx"> if ( oldlog ) </span><span class="...