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:
parent
e9950296d4
commit
bd19111417
12 changed files with 44 additions and 56 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue