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

More 'nullptr' updates and minor clean-ups.

This commit is contained in:
Julian Storer 2011-04-07 22:20:25 +01:00
parent 46c3a6bbe5
commit b047d9be53
113 changed files with 560 additions and 663 deletions

View file

@ -469,7 +469,7 @@ void Button::visibilityChanged()
void Button::parentHierarchyChanged()
{
Component* const newKeySource = (shortcuts.size() == 0) ? 0 : getTopLevelComponent();
Component* const newKeySource = (shortcuts.size() == 0) ? nullptr : getTopLevelComponent();
if (newKeySource != keySource.get())
{