Merge branch 'vector-reverse-iter'
Fix wxVector reverse iterator base(). See https://github.com/wxWidgets/wxWidgets/pull/1948
This commit is contained in:
@@ -323,7 +323,7 @@ void wxInfoBar::RemoveButton(wxWindowID btnid)
|
||||
if (i->id == btnid)
|
||||
{
|
||||
gtk_widget_destroy(i->button);
|
||||
buttons.erase(i.base());
|
||||
buttons.erase(i.base() - 1);
|
||||
|
||||
// see comment in GTKAddButton()
|
||||
InvalidateBestSize();
|
||||
|
||||
Reference in New Issue
Block a user