]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
Don't call busy cursor when creating a message
[wxWidgets.git] / src / gtk / control.cpp
index a167406a882b05d64d5dc1a5740e49b3b51b727e..ca1b3a199d36c5f2d8a78ca9aed53876aa30e73d 100644 (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);