@@ -41,16 +41,20 @@ { id delegate; id 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 delegate; @property (assign) id 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