Mercurial > dwindows
comparison mac/dw.m @ 850:1a7c8d210b18
Changed the Render widget superclass from NSView to NSControl to allow it to function more like a normal control.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 31 Mar 2011 03:35:31 +0000 |
parents | 5103d132c3cd |
children | 5b663261b76c |
comparison
equal
deleted
inserted
replaced
849:39a74ebfdd0d | 850:1a7c8d210b18 |
---|---|
979 } | 979 } |
980 -(void)dealloc { UserData *root = userdata; _remove_userdata(&root, NULL, TRUE); [super dealloc]; } | 980 -(void)dealloc { UserData *root = userdata; _remove_userdata(&root, NULL, TRUE); [super dealloc]; } |
981 @end | 981 @end |
982 | 982 |
983 /* Subclass for a render area type */ | 983 /* Subclass for a render area type */ |
984 @interface DWRender : NSView | 984 @interface DWRender : NSControl |
985 { | 985 { |
986 void *userdata; | 986 void *userdata; |
987 NSFont *font; | 987 NSFont *font; |
988 } | 988 } |
989 -(void *)userdata; | 989 -(void *)userdata; |