]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN...
[wxWidgets.git] / 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);