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

Cleaned up some comments and uses of setContentComponent().

This commit is contained in:
Julian Storer 2011-02-16 14:45:10 +00:00
parent e9950296d4
commit bd19111417
12 changed files with 44 additions and 56 deletions

View file

@ -21,7 +21,7 @@ class HelloWorldWindow : public DocumentWindow
public:
//==============================================================================
HelloWorldWindow()
: DocumentWindow (T("JUCE Hello World!"),
: DocumentWindow ("JUCE Hello World!",
Colours::lightgrey,
DocumentWindow::allButtons,
true)
@ -31,7 +31,7 @@ public:
MainComponent* const contentComponent = new MainComponent();
setContentComponent (contentComponent, true, true);
setContentOwned (contentComponent, true);
centreWithSize (getWidth(), getHeight());