X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e1e0ea90a9ea172ee6d38f0dbb37aacc5ba449c..b5ec0c78b521cfa0f276e4d5d830f35b4fa26e91:/src/gtk/bmpcbox.cpp diff --git a/src/gtk/bmpcbox.cpp b/src/gtk/bmpcbox.cpp index 672413d798..f9f8f042fb 100644 --- a/src/gtk/bmpcbox.cpp +++ b/src/gtk/bmpcbox.cpp @@ -102,9 +102,9 @@ bool wxBitmapComboBox::Create(wxWindow *parent, // Select 'value' in entry-less mode if ( !GetEntry() ) { - int n = FindString(value); - if ( n != wxNOT_FOUND ) - SetSelection(n); + int i = FindString(value); + if (i != wxNOT_FOUND) + SetSelection(i); } return true;