]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct GetString check message
authorRobin Dunn <robin@alldunn.com>
Sat, 26 Feb 2005 00:19:35 +0000 (00:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 26 Feb 2005 00:19:35 +0000 (00:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listbox.cpp

index 360767c00f0bee18eb74e112455c851a709d1de3..1b5d0e4819c49ac705bdea53ab17a5eba9e08d50 100644 (file)
@@ -507,7 +507,7 @@ int wxListBox::GetSelection() const
 wxString wxListBox::GetString(int N) const
 {
     wxCHECK_MSG( N >= 0 && N < m_noItems, wxEmptyString,
-                 wxT("invalid index in wxListBox::GetClientData") );
+                 wxT("invalid index in wxListBox::GetString") );
 
     int len = ListBox_GetTextLen(GetHwnd(), N);