1
0
Fork 0
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:
hogliux 2017-05-30 16:32:43 +01:00
parent 9a5764a324
commit 66a9ec0adf
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ public:
{
public:
MainWindow (String name) : DocumentWindow (name,
getLookAndFeel().findColour (ResizableWindow::backgroundColourId),
LookAndFeel::getDefaultLookAndFeel().findColour (ResizableWindow::backgroundColourId),
DocumentWindow::allButtons)
{
setUsingNativeTitleBar (true);

View file

@ -47,7 +47,7 @@ public:
{
public:
MainWindow (String name) : DocumentWindow (name,
getLookAndFeel().findColour (ResizableWindow::backgroundColourId),
LookAndFeel::getDefaultLookAndFeel().findColour (ResizableWindow::backgroundColourId),
DocumentWindow::allButtons)
{
setUsingNativeTitleBar (true);