projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added makeg295.env file for building with gcc-2.95/mingw
[wxWidgets.git]
/
src
/
motif
/
listbox.cpp
diff --git
a/src/motif/listbox.cpp
b/src/motif/listbox.cpp
index 0666c62369811613936d2fa920f3aa2b81398dd0..685db11e3d1005811a58fdd064e13d359eb9c0fc 100644
(file)
--- a/
src/motif/listbox.cpp
+++ b/
src/motif/listbox.cpp
@@
-226,7
+226,7
@@
void wxListBox::Append(const wxString& item)
m_noItems ++;
}
m_noItems ++;
}
-void wxListBox::Append(const wxString& item,
char
*clientData)
+void wxListBox::Append(const wxString& item,
void
*clientData)
{
int width1, height1;
int width2, height2;
{
int width1, height1;
int width2, height2;
@@
-272,7
+272,7
@@
void wxListBox::Append(const wxString& item, char *clientData)
m_noItems ++;
}
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;
{
m_clientDataList.Clear();
int width1, height1;
@@
-427,16
+427,16
@@
void wxListBox::Deselect(int N)
XmListDeselectPos ((Widget) m_mainWidget, N + 1);
}
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)
{
wxNode *node = m_clientDataList.Find ((long) N);
if (node)
- return (
char
*) node->Data ();
+ return (
void
*) node->Data ();
else
return NULL;
}
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)
{
wxNode *node = m_clientDataList.Find ((long) N);
if (node)