diff --git a/examples/BLOCKS/BlocksDrawing/Source/Main.cpp b/examples/BLOCKS/BlocksDrawing/Source/Main.cpp index bdd713ac7f..4039ef684f 100644 --- a/examples/BLOCKS/BlocksDrawing/Source/Main.cpp +++ b/examples/BLOCKS/BlocksDrawing/Source/Main.cpp @@ -47,7 +47,7 @@ public: { public: MainWindow (String name) : DocumentWindow (name, - getLookAndFeel().findColour (ResizableWindow::backgroundColourId), + LookAndFeel::getDefaultLookAndFeel().findColour (ResizableWindow::backgroundColourId), DocumentWindow::allButtons) { setUsingNativeTitleBar (true); diff --git a/examples/BLOCKS/BlocksMonitor/Source/Main.cpp b/examples/BLOCKS/BlocksMonitor/Source/Main.cpp index 5831468d89..7366f910f2 100644 --- a/examples/BLOCKS/BlocksMonitor/Source/Main.cpp +++ b/examples/BLOCKS/BlocksMonitor/Source/Main.cpp @@ -47,7 +47,7 @@ public: { public: MainWindow (String name) : DocumentWindow (name, - getLookAndFeel().findColour (ResizableWindow::backgroundColourId), + LookAndFeel::getDefaultLookAndFeel().findColour (ResizableWindow::backgroundColourId), DocumentWindow::allButtons) { setUsingNativeTitleBar (true);