]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/checkbox.cpp
Get rid of this file
[wxWidgets.git] / src / motif / checkbox.cpp
index 8d89b52531a64f43e51acfb154899ecd494c1cfa..edd27d1c2b84566d9f998eff2e0236494911d519 100644 (file)
@@ -61,6 +61,7 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
         xmToggleButtonWidgetClass, parentWidget,
         wxFont::GetFontTag(), m_font.GetFontType(XtDisplay(parentWidget)),
         XmNlabelString, text(),
+        XmNrecomputeSize, False,
         NULL);
     
     XtAddCallback( (Widget)m_mainWidget,
@@ -69,7 +70,6 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
 
     XmToggleButtonSetState ((Widget) m_mainWidget, FALSE, TRUE);
 
-    SetCanAddEventHandler(TRUE);
     AttachWidget( parent, m_mainWidget, (WXWidget)NULL,
                   pos.x, pos.y, size.x, size.y );