Use GTK_OBJECT_GET_CLASS macro.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
2000-07-19 10:28:26 +00:00
parent ff67d5860d
commit 2afa14f2c7
8 changed files with 14 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ wxSize wxControl::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);