Removed some debug code from window headers; added some debug
code to try to figure out capture problems git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -755,6 +755,19 @@ wxApp::GetStdIcon(int which) const
|
||||
}
|
||||
}
|
||||
|
||||
void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
|
||||
{
|
||||
// While the GUI isn't working that well, just print out the
|
||||
// message.
|
||||
#if 0
|
||||
wxAppBase::OnAssert(file, line, msg);
|
||||
#else
|
||||
wxString msg2;
|
||||
msg2.Printf("At file %s:%d: %s", file, line, msg);
|
||||
wxLogDebug(msg2);
|
||||
#endif
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// accessors for C modules
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user