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

Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32.

This commit is contained in:
Julian Storer 2010-12-21 12:44:45 +00:00
parent c8799c9107
commit 7becff2aa4
169 changed files with 2140 additions and 2007 deletions

View file

@ -34,7 +34,7 @@ BEGIN_JUCE_NAMESPACE
#include "../../../text/juce_LocalisedStrings.h"
#include "../../../events/juce_MessageManager.h"
#include "../../../application/juce_Application.h"
#include "../../../containers/juce_ScopedPointer.h"
#include "../../../memory/juce_ScopedPointer.h"
//==============================================================================
@ -158,7 +158,7 @@ void AlertWindow::addButton (const String& name,
b->setCommandToTrigger (0, returnValue, false);
b->addShortcut (shortcutKey1);
b->addShortcut (shortcutKey2);
b->addButtonListener (this);
b->addListener (this);
b->changeWidthToFitText (getLookAndFeel().getAlertWindowButtonHeight());
addAndMakeVisible (b, 0);