X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e2b55cd9674c762e56316954d427e939289515b..73348d099791cd9cc5c4616c1f2122610725cba1:/src/gtk1/stattext.cpp diff --git a/src/gtk1/stattext.cpp b/src/gtk1/stattext.cpp index 39664e6f76..6e00a77898 100644 --- a/src/gtk1/stattext.cpp +++ b/src/gtk1/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);