]> git.saurik.com Git - wxWidgets.git/commitdiff
Fail for assert(0,...).
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 29 May 2006 11:17:17 +0000 (11:17 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 29 May 2006 11:17:17 +0000 (11:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fontcmn.cpp

index 80d2e7b1a0c5d86a5999c5dead4b2047ea54b0a6..f0d3ccf9c409076c2f2b996d4cf6d88dda6d7fab 100644 (file)
@@ -289,7 +289,7 @@ wxString wxFontBase::GetNativeFontInfoUserDesc() 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;