Browse Source

Changed an obj-C call to avoid warnings in the old 10.5 SDK.

tags/2021-05-28
jules 11 years ago
parent
commit
a34496588c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_processors/juce_audio_processors.cpp

+ 1
- 1
modules/juce_audio_processors/juce_audio_processors.cpp View File

@@ -119,7 +119,7 @@ struct AutoResizingNSViewComponentWithParent : public AutoResizingNSViewCompone
{
if (NSView* parent = (NSView*) getView())
{
if (NSView* child = [[parent subviews] firstObject])
if (NSView* child = [[parent subviews] objectAtIndex: 0])
{
NSRect f = [parent frame];
NSSize newSize = [child frame].size;


Loading…
Cancel
Save