Artifact da657c193de7198719f9a06ba811e7424bbae5cd2a756c48137727d78032e2d0:
- File
gtk/OGComboBoxItem.m
— part of check-in
[9ca591f16a]
at
2011-12-28 19:23:01
on branch trunk
— Initial OGComboBox implementation.
Only support for text so far. (user: js, size: 410) [annotate] [blame] [check-ins using]
#import "OGComboBoxItem.h" @implementation OGComboBoxItem @synthesize label; + comboBoxItemWithLabel: (OFString*)label { return [[[self alloc] initWithLabel: label] autorelease]; } - initWithLabel: (OFString*)label_ { self = [super init]; @try { label = [label_ copy]; } @catch (id e) { [self release]; @throw e; } return self; } - (void)dealloc { [label release]; [super dealloc]; } @end