use GetTraits(), not m_traits, in OnAssert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -392,7 +392,7 @@ void wxAppConsole::OnAssert(const wxChar *file,
|
|||||||
const wxChar *cond,
|
const wxChar *cond,
|
||||||
const wxChar *msg)
|
const wxChar *msg)
|
||||||
{
|
{
|
||||||
ShowAssertDialog(file, line, cond, msg, m_traits);
|
ShowAssertDialog(file, line, cond, msg, GetTraits());
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // __WXDEBUG__
|
#endif // __WXDEBUG__
|
||||||
|
Reference in New Issue
Block a user