Browse Source

Fixed a windows warning in the previous commit

tags/2021-05-28
hogliux 7 years ago
parent
commit
e71084a7e9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_gui_basics/widgets/juce_ComboBox.cpp

+ 3
- 3
modules/juce_gui_basics/widgets/juce_ComboBox.cpp View File

@@ -545,10 +545,10 @@ void ComboBox::showPopup()
menu.addItem (1, noChoicesMessage, false, false);
}
auto& lookAndFeel = getLookAndFeel();
auto& lf = getLookAndFeel();
menu.setLookAndFeel (&lookAndFeel);
menu.showMenuAsync (lookAndFeel.getOptionsForComboBoxPopupMenu (*this, *label),
menu.setLookAndFeel (&lf);
menu.showMenuAsync (lf.getOptionsForComboBoxPopupMenu (*this, *label),
ModalCallbackFunction::forComponent (comboBoxPopupMenuFinishedCallback, this));
}


Loading…
Cancel
Save