tmp: inline macos

This commit is contained in:
Rustam Gamidov 2020-03-24 22:10:24 +02:00
parent a6d95ad2cc
commit bda3862f0e
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,5 @@
// 13 august 2015
#import "uipriv_darwin.h"
#import "../common/general.h"
@interface libui_NSButton : NSButton
@property int minWidth;
@ -8,6 +7,11 @@
- (id)initWithFrame:(NSRect)frameRect;
@end
static int max(int first, int second)
{
return (first < second) ? second : first;
}
@implementation libui_NSButton
- (id)initWithFrame:(NSRect)frameRect