Fixed of the warnings.

+ Some small bug-fixing related to the system colors change on MacOS ("Set..." buttons didn't respect to the system color change)
This commit is contained in:
YuSanka
2021-07-19 15:46:50 +02:00
parent 175467263c
commit c062033c42
7 changed files with 16 additions and 27 deletions

View File

@@ -267,7 +267,7 @@ void BitmapComboBox::Rescale()
// we need to refill control with new bitmaps
const wxString selection = this->GetValue();
std::vector<wxString> items;
for (int i = 0; i < GetCount(); i++)
for (size_t i = 0; i < GetCount(); i++)
items.push_back(GetString(i));
this->Clear();