39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
@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;
+ comboBox;
@end
|
<
<
<
<
<
<
>
>
>
>
>
>
>
>
>
>
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
@interface OGComboBox: OGWidget
{
id <OGComboBoxDelegate> delegate;
id <OGComboBoxDataSource> dataSource;
}
@property (assign) id <OGComboBoxDelegate> delegate;
@property (assign) id <OGComboBoxDataSource> dataSource;
+ comboBox;
#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, so there seems to be no way around this.
*/
- initWithParent: (OGWidget*)parent;
#endif
@end
|