mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Minor clean-ups for GL, removed some old VC6 hacks.
This commit is contained in:
parent
7d9e06d788
commit
0e1b6061d5
27 changed files with 102 additions and 2104 deletions
|
|
@ -376,7 +376,7 @@ public:
|
|||
for (int i = missingDependencies.size(); --i >= 0;)
|
||||
project.addModule (missingDependencies[i], isModuleCopiedLocally);
|
||||
|
||||
ModulesPanel* mp = findParentComponentOfClass ((ModulesPanel*) nullptr);
|
||||
ModulesPanel* mp = findParentComponentOfClass<ModulesPanel>();
|
||||
if (mp != nullptr)
|
||||
mp->refresh();
|
||||
}
|
||||
|
|
@ -787,7 +787,7 @@ private:
|
|||
|
||||
void buttonClicked (Button*)
|
||||
{
|
||||
ProjectSettingsComponent* psc = findParentComponentOfClass ((ProjectSettingsComponent*) nullptr);
|
||||
ProjectSettingsComponent* psc = findParentComponentOfClass<ProjectSettingsComponent>();
|
||||
if (psc != nullptr)
|
||||
psc->deleteButtonClicked (deleteButton.getName());
|
||||
}
|
||||
|
|
@ -860,7 +860,7 @@ private:
|
|||
|
||||
void buttonClicked (Button*)
|
||||
{
|
||||
ProjectSettingsComponent* psc = findParentComponentOfClass ((ProjectSettingsComponent*) nullptr);
|
||||
ProjectSettingsComponent* psc = findParentComponentOfClass<ProjectSettingsComponent>();
|
||||
if (psc != nullptr)
|
||||
psc->newItemButtonClicked (createNewButton);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue