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

Increased the warning level in a couple of OSX builds, and removed some pedantic warnings in the introjucer.

This commit is contained in:
jules 2012-12-27 19:56:18 +00:00
parent 784c1f5dae
commit 234525aef9
30 changed files with 88 additions and 76 deletions

View file

@ -85,7 +85,7 @@ Font JucerTreeViewBase::getFont() const
return Font (getItemHeight() * 0.6f);
}
void JucerTreeViewBase::paintItem (Graphics& g, int width, int height)
void JucerTreeViewBase::paintItem (Graphics& g, int /*width*/, int /*height*/)
{
if (isSelected())
g.fillAll (getOwnerView()->findColour (treeviewHighlightColourId));
@ -96,7 +96,7 @@ float JucerTreeViewBase::getIconSize() const
return jmin (getItemHeight() - 4.0f, 18.0f);
}
void JucerTreeViewBase::paintOpenCloseButton (Graphics& g, int width, int height, bool isMouseOver)
void JucerTreeViewBase::paintOpenCloseButton (Graphics& g, int width, int height, bool /*isMouseOver*/)
{
Path p;
@ -264,7 +264,7 @@ void JucerTreeViewBase::invokeShowDocument()
showDocument();
}
void JucerTreeViewBase::itemDoubleClicked (const MouseEvent& e)
void JucerTreeViewBase::itemDoubleClicked (const MouseEvent&)
{
invokeShowDocument();
}