mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 23:56:55 +08:00
Fix for "Fl_Native_File_Chooser_MAC.mm compilation warning" (#627)
This commit is contained in:
@@ -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)
|
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);
|
NSRect rectview = NSMakeRect(5, 5, 350, filter ? 60 : 30);
|
||||||
NSView *view = [[[NSView alloc] initWithFrame:rectview] autorelease];
|
NSView *view = [[[NSView alloc] initWithFrame:rectview] autorelease];
|
||||||
NSRect rectbox = NSMakeRect(0, 3, 140, 20 );
|
NSRect rectbox = NSMakeRect(0, 3, 140, 20 );
|
||||||
|
|||||||
Reference in New Issue
Block a user