gdl/gdl-0.9rc4-wx.patch

12 lines
393 B
Diff
Raw Normal View History

--- 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