1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

Minor code clean-ups.

This commit is contained in:
Julian Storer 2010-02-22 15:28:18 +00:00
parent 9f201da3c5
commit 08eb852103
289 changed files with 779 additions and 780 deletions

View file

@ -72,7 +72,7 @@ public:
private:
AlertWindowTextEditor (const AlertWindowTextEditor&);
const AlertWindowTextEditor& operator= (const AlertWindowTextEditor&);
AlertWindowTextEditor& operator= (const AlertWindowTextEditor&);
};
#if JUCE_LINUX
@ -255,11 +255,6 @@ ComboBox* AlertWindow::getComboBoxComponent (const String& nameOfList) const
//==============================================================================
class AlertTextComp : public TextEditor
{
AlertTextComp (const AlertTextComp&);
const AlertTextComp& operator= (const AlertTextComp&);
int bestWidth;
public:
AlertTextComp (const String& message,
const Font& font)
@ -294,6 +289,12 @@ public:
text.layout (width - 8, Justification::topLeft, true);
setSize (width, jmin (width, text.getHeight() + (int) getFont().getHeight()));
}
private:
int bestWidth;
AlertTextComp (const AlertTextComp&);
AlertTextComp& operator= (const AlertTextComp&);
};
void AlertWindow::addTextBlock (const String& text)