gdl/gdl-0.9rc4-wx.patch
Orion Poplawski 82f52910ad - Update to today's cvs
- Drop wx-config patch
- Re-instate wx patch to avoid segfault on test exit
2010-07-07 21:44:57 +00:00

12 lines
393 B
Diff

--- gdl-0.9rc4/src/basic_pro.cpp.wx 2010-07-07 15:40:39.000000000 -0600
+++ gdl-0.9rc4/src/basic_pro.cpp 2010-07-07 15:41:48.498004077 -0600
@@ -728,7 +728,7 @@
#endif
#ifdef HAVE_LIBWXWIDGETS
- wxTheApp->OnExit(); // Defined in GDLApp::OnExit() in gdlwidget.cpp
+ if (wxTheApp) wxTheApp->OnExit(); // Defined in GDLApp::OnExit() in gdlwidget.cpp
// wxUninitialize();
#endif