X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/850ff4855026066770d80c376ee6fc864169509c..0e7bd27a8dfc9a8350355cf51023046fc30496ef:/src/gtk/checkbox.cpp?ds=sidebyside diff --git a/src/gtk/checkbox.cpp b/src/gtk/checkbox.cpp index 8bc24ddf9e..f4ff061e92 100644 --- a/src/gtk/checkbox.cpp +++ b/src/gtk/checkbox.cpp @@ -12,10 +12,12 @@ #pragma implementation "checkbox.h" #endif -#include "wx/checkbox.h" +#include "wx/defs.h" #if wxUSE_CHECKBOX +#include "wx/checkbox.h" + #include #include @@ -77,7 +79,7 @@ bool wxCheckBox::Create(wxWindow *parent, !CreateBase( parent, id, pos, size, style, validator, name )) { wxFAIL_MSG( wxT("wxCheckBox creation failed") ); - return FALSE; + return FALSE; } wxControl::SetLabel( label ); @@ -146,7 +148,7 @@ void wxCheckBox::SetValue( bool state ) (gpointer *)this ); gtk_toggle_button_set_state( GTK_TOGGLE_BUTTON(m_widgetCheckbox), state ); - + gtk_signal_connect( GTK_OBJECT(m_widgetCheckbox), "clicked", GTK_SIGNAL_FUNC(gtk_checkbox_clicked_callback), @@ -199,11 +201,11 @@ void wxCheckBox::OnInternalIdle() if (GTK_TOGGLE_BUTTON(m_widgetCheckbox)->event_window && cursor.Ok()) { /* I now set the cursor the anew in every OnInternalIdle call - as setting the cursor in a parent window also effects the - windows above so that checking for the current cursor is - not possible. */ - - gdk_window_set_cursor( GTK_TOGGLE_BUTTON(m_widgetCheckbox)->event_window, cursor.GetCursor() ); + as setting the cursor in a parent window also effects the + windows above so that checking for the current cursor is + not possible. */ + + gdk_window_set_cursor( GTK_TOGGLE_BUTTON(m_widgetCheckbox)->event_window, cursor.GetCursor() ); } UpdateWindowUI();