39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
@interface OGComboBox: OGWidget
{
id <OGComboBoxDelegate> delegate;
id <OGComboBoxDataSource> dataSource;
}
#ifdef OG_W32
//unfortunately, the built-in Win32 ListBox stores a pointer to it's parent (for sending selection changed notifications) during CreateWindow().
//it does not update it after a SetParent()... unless we implement a custom ListBox control i don't see a way around this...
- initWithParent : (OGWidget *)parent;
#endif
@property (assign) id <OGComboBoxDelegate> delegate;
@property (assign) id <OGComboBoxDataSource> dataSource;
|
|
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
@interface OGComboBox: OGWidget
{
id <OGComboBoxDelegate> delegate;
id <OGComboBoxDataSource> dataSource;
}
#ifdef OG_WIN32
//unfortunately, the built-in Win32 ListBox stores a pointer to it's parent (for sending selection changed notifications) during CreateWindow().
//it does not update it after a SetParent()... unless we implement a custom ListBox control i don't see a way around this...
- initWithParent : (OGWidget *)parent;
#endif
@property (assign) id <OGComboBoxDelegate> delegate;
@property (assign) id <OGComboBoxDataSource> dataSource;
|