X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e2b55cd9674c762e56316954d427e939289515b..10992a81d39da31b79063387b7b71c0ff68737ce:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 39664e6f76..6e00a77898 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -150,7 +150,7 @@ wxSize wxStaticText::DoGetBestSize() const GtkRequisition req; req.width = 2; req.height = 2; - (* GTK_WIDGET_CLASS( GTK_OBJECT(m_widget)->klass )->size_request ) + (* GTK_WIDGET_CLASS( GTK_OBJECT_GET_CLASS(m_widget) )->size_request ) (m_widget, &req ); return wxSize(req.width, req.height);