Skip to content
Snippets Groups Projects
Commit 2e6d24fb authored by jsiegle's avatar jsiegle
Browse files

Moved 'setUsingNativeTitleBar' inside MainWindow startup. Closes #6.

This appears to be the source of the inconsistencies, at least on OS X.
parent 997d09ce
Branches
Tags
No related merge requests found
......@@ -53,7 +53,7 @@ public:
void initialise (const String& commandLine)
{
mainWindow = new MainWindow();
mainWindow->setUsingNativeTitleBar (true);
customLookAndFeel = new CustomLookAndFeel();
LookAndFeel::setDefaultLookAndFeel(customLookAndFeel);
......
......@@ -59,7 +59,10 @@ MainWindow::MainWindow()
addKeyListener(commandManager.getKeyMappings());
loadWindowBounds();
setUsingNativeTitleBar (true);
Component::addToDesktop (getDesktopWindowStyleFlags());
setVisible (true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment