Fail for assert(0,...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
06ec4d9c0f
commit
7bd236e6da
@ -36,8 +36,8 @@
|
||||
#include "wx/gdicmn.h"
|
||||
|
||||
#if defined(__WXMSW__)
|
||||
#include "wx/msw/private.h" // includes windows.h for LOGFONT
|
||||
#include "wx/msw/winundef.h"
|
||||
#include "wx/msw/private.h" // includes windows.h for LOGFONT
|
||||
#include "wx/msw/winundef.h"
|
||||
#endif
|
||||
|
||||
#include "wx/fontutil.h" // for wxNativeFontInfo
|
||||
@ -272,7 +272,7 @@ wxString wxFontBase::GetNativeFontInfoDesc() const
|
||||
}
|
||||
else
|
||||
{
|
||||
wxASSERT_MSG(0, wxT("Derived class should have created the wxNativeFontInfo!"));
|
||||
wxFAIL_MSG(wxT("Derived class should have created the wxNativeFontInfo!"));
|
||||
}
|
||||
|
||||
return fontDesc;
|
||||
|
Loading…
Reference in New Issue
Block a user