]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/stattext.cpp
forgot to check in wxHtmlProcessor::IsEnabled test in wxHtmlWindow::SetPage
[wxWidgets.git] / src / gtk1 / stattext.cpp
index 39664e6f76b62c67be38b988302290acc1881ea7..6e00a778984022dd9675ba0b10f9c9681b91a08d 100644 (file)
@@ -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);