diff --git a/src/gtk/infobar.cpp b/src/gtk/infobar.cpp index ea7be9274b..453e11448d 100644 --- a/src/gtk/infobar.cpp +++ b/src/gtk/infobar.cpp @@ -239,7 +239,7 @@ GtkWidget *wxInfoBar::GTKAddButton(wxWindowID btnid, const wxString& label) #if defined(__WXGTK3__) && GTK_CHECK_VERSION(3,10,0) wxGTK_CONV(wxConvertMnemonicsToGTK(wxGetStockLabel(btnid))) #else - wxGetStockGtkID(btnid) + wxString(wxGetStockGtkID(btnid)) #endif // GTK >= 3.10 / < 3.10 : wxGTK_CONV(label), btnid