]> git.saurik.com Git - wxWidgets.git/commitdiff
more informative error messages
authorRobin Dunn <robin@alldunn.com>
Mon, 10 Mar 2003 23:58:30 +0000 (23:58 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 10 Mar 2003 23:58:30 +0000 (23:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 90a2e5fb8c9cbc1a3fea7dd30c8416e89dadaf14..227cd4616be7993d563643eba4e884654dcb9ac8 100644 (file)
@@ -2334,7 +2334,7 @@ wxString wxListCtrl::OnGetItemText(long WXUNUSED(item), long WXUNUSED(col)) cons
 {
     // this is a pure virtual function, in fact - which is not really pure
     // because the controls which are not virtual don't need to implement it
-    wxFAIL_MSG( _T("not supposed to be called") );
+    wxFAIL_MSG( _T("wxListCtrl::OnGetItemText not supposed to be called") );
 
     return wxEmptyString;
 }
@@ -2342,7 +2342,7 @@ wxString wxListCtrl::OnGetItemText(long WXUNUSED(item), long WXUNUSED(col)) cons
 int wxListCtrl::OnGetItemImage(long WXUNUSED(item)) const
 {
     // same as above
-    wxFAIL_MSG( _T("not supposed to be called") );
+    wxFAIL_MSG( _T("wxListCtrl::OnGetItemImage not supposed to be called") );
 
     return -1;
 }