X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a32fcf1555f9a52a6970e52ad0191a0ee69dbf9..921dd444fe87c122ec1559cccc10d248f92cfb6d:/src/gtk/tbargtk.cpp?ds=sidebyside diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp index a28e8eb817..87b8aa903f 100644 --- a/src/gtk/tbargtk.cpp +++ b/src/gtk/tbargtk.cpp @@ -355,7 +355,7 @@ void gtktoolwidget_size_callback( GtkWidget *widget, // InsertChild callback for wxToolBar //----------------------------------------------------------------------------- -static void wxInsertChildInToolBar( wxToolBar* WXUNUSED(parent), +static void wxInsertChildInToolBar( wxWindow* WXUNUSED(parent), wxWindow* WXUNUSED(child) ) { // we don't do anything here @@ -413,7 +413,7 @@ bool wxToolBar::Create( wxWindow *parent, long style, const wxString& name ) { - m_insertCallback = (wxInsertChildFunction)wxInsertChildInToolBar; + m_insertCallback = wxInsertChildInToolBar; if ( !PreCreation( parent, pos, size ) || !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))