bool wxGUIAppTraitsBase::ShowAssertDialog(const wxString& msg)
{
-#if wxDEBUG_LEVEL
// under MSW we prefer to use the base class version using ::MessageBox()
// even if wxMessageBox() is available because it has less chances to
// double fault our app than our wxMessageBox()
#if defined(__WXMSW__) || defined(__WXDFB__) || !wxUSE_MSGDLG
return wxAppTraitsBase::ShowAssertDialog(msg);
#else // wxUSE_MSGDLG
+#if wxDEBUG_LEVEL
wxString msgDlg = msg;
#if wxUSE_STACKWALKER
//case wxNO: nothing to do
}
-#endif // !wxUSE_MSGDLG/wxUSE_MSGDLG
#else // !wxDEBUG_LEVEL
// this function always exists (for ABI compatibility) but is never called
// if debug level is 0 and so can simply do nothing then
#endif // wxDEBUG_LEVEL/!wxDEBUG_LEVEL
return false;
+#endif // !wxUSE_MSGDLG/wxUSE_MSGDLG
}
bool wxGUIAppTraitsBase::HasStderr()