mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
This commit is contained in:
parent
aa47911aac
commit
a63bec1972
20 changed files with 167 additions and 124 deletions
|
|
@ -3208,7 +3208,7 @@ KeyboardFocusTraverser* Component::createFocusTraverser()
|
|||
return parentComponent_->createFocusTraverser();
|
||||
}
|
||||
|
||||
void Component::takeKeyboardFocus (FocusChangeType cause)
|
||||
void Component::takeKeyboardFocus (const FocusChangeType cause)
|
||||
{
|
||||
// give the focus to this component
|
||||
if (currentlyFocusedComponent != this)
|
||||
|
|
@ -3264,7 +3264,7 @@ void Component::takeKeyboardFocus (FocusChangeType cause)
|
|||
}
|
||||
}
|
||||
|
||||
void Component::grabFocusInternal (FocusChangeType cause, const bool canTryParent)
|
||||
void Component::grabFocusInternal (const FocusChangeType cause, const bool canTryParent)
|
||||
{
|
||||
if (isShowing())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue