This thread for small patches to fix CB Runtime crashes/error logging when linked wxWidgets 3.0.
Half of the time it crashes on startup when linked against wxWidgets 3.0 branch.
Tim S.
Index: src/src/splashscreen.cpp
===================================================================
--- src/src/splashscreen.cpp (revision 9506)
+++ src/src/splashscreen.cpp (working copy)
@@ -99,10 +99,12 @@
void cbSplashScreen::OnEraseBackground(wxEraseEvent &event)
{
+#if !wxCHECK_VERSION(3, 0, 0)
wxDC *dc = event.GetDC();
if (dc)
DoPaint(*dc); // why not? :)
+#endif
}
void cbSplashScreen::OnTimer(wxTimerEvent &)
The message you get if it does not crash is from the next line in file "src/msw/dcclient.cpp".
wxFAIL_MSG( wxT("wxPaintDCImpl may be created only in EVT_PAINT handler!") );