fix compilation without WXDEBUG (includes patch 561458)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8fb97d468b
commit
d715d419e1
@ -74,7 +74,9 @@ public:
|
||||
// Processes an X event.
|
||||
virtual bool ProcessXEvent(WXEvent* event);
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
virtual void OnAssert(const wxChar *file, int line, const wxChar *msg);
|
||||
#endif // __WXDEBUG__
|
||||
|
||||
protected:
|
||||
bool m_showOnInit;
|
||||
|
@ -1219,6 +1219,8 @@ bool wxApp::Yield(bool onlyIfNeeded)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
|
||||
{
|
||||
// While the GUI isn't working that well, just print out the
|
||||
@ -1232,3 +1234,5 @@ void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // __WXDEBUG__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user