mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-29 02:40:05 +00:00
Fixed a typo in a comment
This commit is contained in:
parent
d32ced157a
commit
da50695970
1 changed files with 3 additions and 3 deletions
|
|
@ -59,9 +59,9 @@ LookAndFeel::~LookAndFeel()
|
|||
- there's a WeakReference to it somewhere else in your code
|
||||
|
||||
Generally the fix for this will be to make sure you call
|
||||
Component::setDefaultLookandFeel (nullptr) on any components that were still using
|
||||
it before you delete it. Or call LookAndFeel::setDefaultLookAndFeel (nullptr) if you
|
||||
had set it up to be the default one.
|
||||
Component::setLookandFeel (nullptr) on any components that were still using
|
||||
it before you delete it. Or call LookAndFeel::setDefaultLookAndFeel (nullptr)
|
||||
if you had set it up to be the default one.
|
||||
|
||||
Deleting a LookAndFeel is unlikely to cause a crash since most things will use a
|
||||
safe WeakReference to it, but it could cause some unexpected graphical behaviour,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue