remove some unnecessary casts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-10-02 16:19:33 +00:00
parent 95dc31e001
commit 84f623f883
4 changed files with 8 additions and 8 deletions

View File

@@ -413,17 +413,17 @@ bool wxSpinCtrl::SetBase(int base)
if ( m_base != 10 )
{
g_signal_connect( GTK_SPIN_BUTTON(m_widget), "input",
g_signal_connect( m_widget, "input",
G_CALLBACK(wx_gtk_spin_input), this);
g_signal_connect( GTK_SPIN_BUTTON(m_widget), "output",
g_signal_connect( m_widget, "output",
G_CALLBACK(wx_gtk_spin_output), this);
}
else
{
g_signal_handlers_disconnect_by_func(GTK_SPIN_BUTTON(m_widget),
g_signal_handlers_disconnect_by_func(m_widget,
(gpointer)wx_gtk_spin_input,
this);
g_signal_handlers_disconnect_by_func(GTK_SPIN_BUTTON(m_widget),
g_signal_handlers_disconnect_by_func(m_widget,
(gpointer)wx_gtk_spin_output,
this);
}