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

Fixes for disappearing win32 drag images, and TextEditor custom cursors.

This commit is contained in:
Julian Storer 2011-03-21 09:54:17 +00:00
parent e1e5018a91
commit ca8ce6d354
7 changed files with 55 additions and 21 deletions

View file

@ -1138,6 +1138,15 @@ void TextEditor::colourChanged()
repaint();
}
void TextEditor::lookAndFeelChanged()
{
if (isCaretVisible())
{
setCaretVisible (false);
setCaretVisible (true);
}
}
void TextEditor::setCaretVisible (const bool shouldCaretBeVisible)
{
if (shouldCaretBeVisible && ! isReadOnly())