return -1;
}
+#if wxUSE_EXCEPTIONS
+
+void
+wxAppConsole::HandleEvent(wxEvtHandler *handler,
+ wxEventFunction func,
+ wxEvent& event) const
+{
+ // by default, simply call the handler
+ (handler->*func)(event);
+}
+
+#endif // wxUSE_EXCEPTIONS
+
// ----------------------------------------------------------------------------
// cmd line parsing
// ----------------------------------------------------------------------------
wxString prog = wxString::FromAscii(optionsSignature);
wxString progName = wxString::FromAscii(componentName);
wxString msg;
-
- msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s, and %s used %s."),
+
+ msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
lib.c_str(), progName.c_str(), prog.c_str());
-
+
wxLogFatalError(msg);
// normally wxLogFatalError doesn't return
const wxChar *cond,
const wxChar *msg)
{
- ShowAssertDialog(file, line, cond, msg, m_traits);
+ ShowAssertDialog(file, line, cond, msg, GetTraits());
}
#endif // __WXDEBUG__
{
// nothing to do
}
-
+
#if wxUSE_SOCKETS
GSocketGUIFunctionsTable* wxConsoleAppTraitsBase::GetSocketGUIFunctionsTable()
{
const wxChar *szFile,
int nLine,
const wxChar *szCond,
- const wxChar *szMsg)
+ const wxChar *szMsg)
{
if ( !cond )
wxOnAssert(szFile, nLine, szCond, szMsg);