Fix misused wxGTK_CONV
This commit is contained in:
@@ -214,7 +214,7 @@ GtkWidget *wxInfoBar::GTKAddButton(wxWindowID btnid, const wxString& label)
|
||||
#if defined(__WXGTK3__) && GTK_CHECK_VERSION(3,10,0)
|
||||
wxGTK_CONV(wxConvertMnemonicsToGTK(wxGetStockLabel(btnid)))
|
||||
#else
|
||||
wxGTK_CONV(wxGetStockGtkID(btnid)
|
||||
wxGetStockGtkID(btnid)
|
||||
#endif // GTK >= 3.10 / < 3.10
|
||||
: wxGTK_CONV(label),
|
||||
btnid
|
||||
|
Reference in New Issue
Block a user