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:
@@ -74,7 +74,9 @@ public:
|
|||||||
// Processes an X event.
|
// Processes an X event.
|
||||||
virtual bool ProcessXEvent(WXEvent* event);
|
virtual bool ProcessXEvent(WXEvent* event);
|
||||||
|
|
||||||
|
#ifdef __WXDEBUG__
|
||||||
virtual void OnAssert(const wxChar *file, int line, const wxChar *msg);
|
virtual void OnAssert(const wxChar *file, int line, const wxChar *msg);
|
||||||
|
#endif // __WXDEBUG__
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool m_showOnInit;
|
bool m_showOnInit;
|
||||||
|
@@ -1219,6 +1219,8 @@ bool wxApp::Yield(bool onlyIfNeeded)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __WXDEBUG__
|
||||||
|
|
||||||
void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
|
void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
|
||||||
{
|
{
|
||||||
// While the GUI isn't working that well, just print out the
|
// 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // __WXDEBUG__
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user