summaryrefslogtreecommitdiff
path: root/sysdata_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-15 19:55:16 -0400
committerPietro Gagliardi <[email protected]>2014-05-15 19:55:16 -0400
commit9d8976ababebfd7ce670cdb05e3bc303ac466bf6 (patch)
treef9ef14b706baab853c9067f25a4fc57174d0d7ad /sysdata_darwin.m
parentb73d4e9010a273fd4e3e0b809959387a3b020cb0 (diff)
Migrated everything else to Objective-C native; fixed a few things I missed along the way.
Diffstat (limited to 'sysdata_darwin.m')
-rw-r--r--sysdata_darwin.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdata_darwin.m b/sysdata_darwin.m
index bfefe4e..e2684cb 100644
--- a/sysdata_darwin.m
+++ b/sysdata_darwin.m
@@ -14,6 +14,7 @@
#include <AppKit/NSProgressIndicator.h>
#include <AppKit/NSScrollView.h>
+// because the only way to make a new NSControl/NSView is with a frame (it gets overridden later)
static NSRect dummyRect;// = NSMakeRect(0, 0, 100, 100);
#define to(T, x) ((T *) (x))