const char wxCollapsiblePaneNameStr[] = "collapsiblePane";
-wxDEFINE_EVENT( wxEVT_COMMAND_COLLPANE_CHANGED, wxCollapsiblePaneEvent );
+wxDEFINE_EVENT( wxEVT_COLLAPSIBLEPANE_CHANGED, wxCollapsiblePaneEvent );
IMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneEvent, wxCommandEvent)
GtkRequisition req;
#ifdef __WXGTK3__
- gtk_widget_get_preferred_width(m_widget, NULL, &req.width);
- gtk_widget_get_preferred_height_for_width(m_widget, req.width, NULL, &req.height);
+ gtk_widget_get_preferred_size(m_widget, NULL, &req);
#else
GTK_WIDGET_GET_CLASS(m_widget)->size_request(m_widget, &req);
#endif