// Combobox item
class WXDLLIMPEXP_CORE wxComboBox :
+ public wxWindowWithItems<
#if wxOSX_USE_CARBON
- public wxNavigationEnabled<wxControl>,
+ wxNavigationEnabled<wxControl>,
#else
- public wxControl,
+ wxControl,
#endif
- public wxComboBoxBase
+ wxComboBoxBase>
{
DECLARE_DYNAMIC_CLASS(wxComboBox)
virtual unsigned int GetCount() const;
+ virtual void SetValue(const wxString& value);
// these methods are provided by wxTextEntry for the native impl.
#if wxOSX_USE_CARBON
// Text field functions
- virtual void SetValue(const wxString& value);
virtual wxString GetValue() const;
virtual void WriteText(const wxString& text);
virtual wxTextWidgetImpl* GetTextPeer() const;
#endif // wxOSX_USE_CARBON
+#if wxOSX_USE_COCOA
+ virtual void Popup();
+ virtual void Dismiss();
+#endif // wxOSX_USE_COCOA
// osx specific event handling common for all osx-ports
virtual bool OSXHandleClicked( double timestampsec );
-#if wxOSX_USE_CARBON
- wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST
-#endif
-
#if wxOSX_USE_COCOA
wxComboWidgetImpl* GetComboPeer() const;
#endif