+ return HandleWindowEvent(event);
+}
+
+wxSize wxControl::DoGetBestSize() const
+{
+ Widget w = (Widget)GetTopWidget();
+
+ // Do not return any arbitrary default value...
+ wxASSERT_MSG (w, wxT("DoGetBestSize called before creation"));
+
+ XtWidgetGeometry preferred;
+ XtQueryGeometry (w, NULL, &preferred);
+
+ return wxSize(preferred.width, preferred.height);