1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

New jucer fix.

This commit is contained in:
Julian Storer 2010-06-23 18:51:56 +01:00
parent 09ad7f2788
commit c8b977a482
2 changed files with 3 additions and 2 deletions

View file

@ -424,9 +424,10 @@ public:
StoredSettings::getInstance()->setLastProjects (projects);
}
ScopedPointer<MainMenuModel> menuModel;
private:
OwnedArray <MainWindow> mainWindows;
ScopedPointer<MainMenuModel> menuModel;
MainWindow* createNewMainWindow (bool makeVisible)
{

View file

@ -44,7 +44,7 @@ MainWindow::MainWindow()
#if ! JUCE_MAC
JucerApplication* app = static_cast<JucerApplication*> (JUCEApplication::getInstance());
setMenuBar (app);
setMenuBar (app->menuModel);
#endif
setResizable (true, false);