]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/windowid.cpp
fix wxMBConv_iconv to respect the base class conventions: when the input is NUL-termi...
[wxWidgets.git] / src / common / windowid.cpp
index aace85973c18766bb63e2a93ee4d714125c900ab..10e57fa66c404bd4289d52d338b97141f059cc24 100644 (file)
@@ -118,7 +118,7 @@ void DecIdRefCount(wxWindowID id)
     // so it should never be reserved, but test anyway
     if(gs_autoIdsRefCount[id] == ID_RESERVED)
     {
-        wxASSERT_MSG(false, wxT("reserve id being decreased"));
+        wxFAIL_MSG(wxT("reserve id being decreased"));
         gs_autoIdsRefCount[id] = ID_FREE;
     }
     else