1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Added support for native OSX recent files menu - to enable it, see the MenuBarModel::setMacMainMenu() method, and re-save your project using this version of the introjucer.

This commit is contained in:
jules 2012-10-28 18:38:10 +00:00
parent 7850bebd47
commit f13621a78d
27 changed files with 2532 additions and 124 deletions

View file

@ -334,7 +334,7 @@ public:
{
setSearchString (editor.getText());
if (CppCodeEditorComponent* ed = getOwner())
if (GenericCodeEditorComponent* ed = getOwner())
ed->findNext (true, false);
}
@ -347,13 +347,13 @@ public:
void textEditorEscapeKeyPressed (TextEditor&)
{
if (CppCodeEditorComponent* ed = getOwner())
if (GenericCodeEditorComponent* ed = getOwner())
ed->hideFindPanel();
}
CppCodeEditorComponent* getOwner() const
GenericCodeEditorComponent* getOwner() const
{
return findParentComponentOfClass <CppCodeEditorComponent>();
return findParentComponentOfClass <GenericCodeEditorComponent>();
}
TextEditor editor;