mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
BLOCKS: fixed a potential crash in BLOCKS sample code
This commit is contained in:
parent
9a5764a324
commit
66a9ec0adf
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ public:
|
|||
{
|
||||
public:
|
||||
MainWindow (String name) : DocumentWindow (name,
|
||||
getLookAndFeel().findColour (ResizableWindow::backgroundColourId),
|
||||
LookAndFeel::getDefaultLookAndFeel().findColour (ResizableWindow::backgroundColourId),
|
||||
DocumentWindow::allButtons)
|
||||
{
|
||||
setUsingNativeTitleBar (true);
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public:
|
|||
{
|
||||
public:
|
||||
MainWindow (String name) : DocumentWindow (name,
|
||||
getLookAndFeel().findColour (ResizableWindow::backgroundColourId),
|
||||
LookAndFeel::getDefaultLookAndFeel().findColour (ResizableWindow::backgroundColourId),
|
||||
DocumentWindow::allButtons)
|
||||
{
|
||||
setUsingNativeTitleBar (true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue