diff --git a/modules/juce_gui_basics/keyboard/juce_KeyPress.h b/modules/juce_gui_basics/keyboard/juce_KeyPress.h index 387c8d8358..d9ed426631 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyPress.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyPress.h @@ -53,8 +53,8 @@ public: /** Creates a KeyPress for a key and some modifiers. e.g. - CTRL+C would be: KeyPress ('c', ModifierKeys::ctrlModifier) - SHIFT+Escape would be: KeyPress (KeyPress::escapeKey, ModifierKeys::shiftModifier) + CTRL+C would be: KeyPress ('c', ModifierKeys::ctrlModifier, 0) + SHIFT+Escape would be: KeyPress (KeyPress::escapeKey, ModifierKeys::shiftModifier, 0) @param keyCode a code that represents the key - this value must be one of special constants listed in this class, or an