Used gpointer for callback arg to prevent compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,8 +92,9 @@ struct wxlistbox_idle_struct
|
|||||||
gint m_tag;
|
gint m_tag;
|
||||||
};
|
};
|
||||||
|
|
||||||
static gint wxlistbox_idle_callback( wxlistbox_idle_struct *data )
|
static gint wxlistbox_idle_callback( gpointer gdata )
|
||||||
{
|
{
|
||||||
|
wxlistbox_idle_struct* data = (wxlistbox_idle_struct*) gdata;
|
||||||
gdk_threads_enter();
|
gdk_threads_enter();
|
||||||
|
|
||||||
gtk_idle_remove( data->m_tag );
|
gtk_idle_remove( data->m_tag );
|
||||||
|
@@ -92,8 +92,9 @@ struct wxlistbox_idle_struct
|
|||||||
gint m_tag;
|
gint m_tag;
|
||||||
};
|
};
|
||||||
|
|
||||||
static gint wxlistbox_idle_callback( wxlistbox_idle_struct *data )
|
static gint wxlistbox_idle_callback( gpointer gdata )
|
||||||
{
|
{
|
||||||
|
wxlistbox_idle_struct* data = (wxlistbox_idle_struct*) gdata;
|
||||||
gdk_threads_enter();
|
gdk_threads_enter();
|
||||||
|
|
||||||
gtk_idle_remove( data->m_tag );
|
gtk_idle_remove( data->m_tag );
|
||||||
|
Reference in New Issue
Block a user