1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

tidied up DocumentWindow border sizing; made WASAPI cope with multiple devices with the same name.

This commit is contained in:
Julian Storer 2009-10-06 23:25:52 +01:00
parent 35492ad866
commit 9ebff4bc92
10 changed files with 187 additions and 152 deletions

View file

@ -2169,7 +2169,7 @@ void TextEditor::focusGained (FocusChangeType)
textHolder->startTimer (flashSpeedIntervalMs);
ComponentPeer* const peer = getPeer();
if (peer != 0)
if (peer != 0 && ! isReadOnly())
peer->textInputRequired (getScreenX() - peer->getScreenX(),
getScreenY() - peer->getScreenY());
}