X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f516d986371b7643efda569d64ae19e75d221411..3f1ed8567ef7891f2c4062d2acb13d82a24e32af:/src/motif/checkbox.cpp?ds=inline diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 6b9402557b..948b2c673a 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: checkbox.cpp +// Name: src/motif/checkbox.cpp // Purpose: wxCheckBox // Author: Julian Smart // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx.h". @@ -16,8 +16,6 @@ #define XtDisplay XTDISPLAY #endif -#include "wx/defs.h" - #include "wx/checkbox.h" #include "wx/tglbtn.h" #include "wx/utils.h" @@ -63,7 +61,7 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, wxString label1(wxStripMenuCodes(label)); wxXmString text( label1 ); - + Widget parentWidget = (Widget) parent->GetClientWidget(); m_mainWidget = (WXWidget) XtVaCreateManagedWidget ("toggle", @@ -77,7 +75,7 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, XmNtoggleMode, Is3State() ? XmTOGGLE_INDETERMINATE : XmTOGGLE_BOOLEAN, #endif NULL); - + XtAddCallback( (Widget)m_mainWidget, XmNvalueChangedCallback, (XtCallbackProc)wxCheckBoxCallback, (XtPointer)this );