-void wxCheckBox::SetSize(int x, int y, int width, int height, int sizeFlags)
-{
- // TODO
+ XtAddCallback ((Widget) m_mainWidget, XmNvalueChangedCallback, (XtCallbackProc) wxCheckBoxCallback,
+ (XtPointer) this);
+
+ XmToggleButtonSetState ((Widget) m_mainWidget, FALSE, TRUE);
+
+ SetCanAddEventHandler(TRUE);
+ AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
+
+ ChangeColour(m_mainWidget);
+ SetFont(* parent->GetFont());
+
+ return TRUE;