mirror of https://github.com/fltk/fltk
Fix for "Fl_Native_File_Chooser_MAC.mm compilation warning" (#627)
This commit is contained in:
parent
13f2ea664a
commit
ae240340ab
|
@ -569,7 +569,7 @@ static char *prepareMacFilter(int count, const char *filter, char **patterns) {
|
|||
|
||||
static NSPopUpButton *createPopupAccessory(NSSavePanel *panel, const char *filter, const char *title, int rank)
|
||||
{
|
||||
NSPopUpButton *popup;
|
||||
NSPopUpButton *popup = nil;
|
||||
NSRect rectview = NSMakeRect(5, 5, 350, filter ? 60 : 30);
|
||||
NSView *view = [[[NSView alloc] initWithFrame:rectview] autorelease];
|
||||
NSRect rectbox = NSMakeRect(0, 3, 140, 20 );
|
||||
|
|
Loading…
Reference in New Issue