X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da175b2ce4dc35cc4c0baa8bbdc16bf4de6c7684..4df78dc36e933fb1c3aa7c9d7ae2757a898ae05c:/src/motif/listbox.cpp diff --git a/src/motif/listbox.cpp b/src/motif/listbox.cpp index 0666c62369..685db11e3d 100644 --- a/src/motif/listbox.cpp +++ b/src/motif/listbox.cpp @@ -226,7 +226,7 @@ void wxListBox::Append(const wxString& item) m_noItems ++; } -void wxListBox::Append(const wxString& item, char *clientData) +void wxListBox::Append(const wxString& item, void *clientData) { int width1, height1; int width2, height2; @@ -272,7 +272,7 @@ void wxListBox::Append(const wxString& item, char *clientData) m_noItems ++; } -void wxListBox::Set(int n, const wxString *choices, char** clientData) +void wxListBox::Set(int n, const wxString *choices, void** clientData) { m_clientDataList.Clear(); int width1, height1; @@ -427,16 +427,16 @@ void wxListBox::Deselect(int N) XmListDeselectPos ((Widget) m_mainWidget, N + 1); } -char *wxListBox::GetClientData(int N) const +void *wxListBox::GetClientData(int N) const { wxNode *node = m_clientDataList.Find ((long) N); if (node) - return (char *) node->Data (); + return (void *) node->Data (); else return NULL; } -void wxListBox::SetClientData(int N, char *Client_data) +void wxListBox::SetClientData(int N, void *Client_data) { wxNode *node = m_clientDataList.Find ((long) N); if (node)