#include "wx/control.h"
-#include "gtk/gtkfeatures.h"
+#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// wxControl
}
+wxSize wxControl::DoGetBestSize() const
+{
+ GtkRequisition req;
+ (* GTK_WIDGET_CLASS( GTK_OBJECT(m_widget)->klass )->size_request )
+ (m_widget, &req );
+
+ return wxSize(req.width, req.height);
+}
+