From 7bd236e6da74203ba429941d3f9643291494b420 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 29 May 2006 10:10:37 +0000 Subject: [PATCH] Fail for assert(0,...). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fontcmn.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index 2d9ba5c768..80d2e7b1a0 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -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; -- 2.45.2