virtual void SetString(unsigned int n, const wxString& s);
virtual unsigned int GetCount() const;
-
+
// these methods are provided by wxTextEntry for the native impl.
#if wxOSX_USE_CARBON
// Text field functions
virtual bool CanRedo() const;
virtual wxClientDataType GetClientDataType() const;
-#endif
+
+ virtual wxTextWidgetImpl* GetTextPeer() const;
+#endif // wxOSX_USE_CARBON
WX_DECLARE_CONTROL_CONTAINER();
#endif
- // only used by the native Cocoa combobox, but we must define it everywhere
- // to maintain the wxTextEntry abstraction.
- virtual wxTextWidgetImpl * GetTextPeer() const;
-
#if wxOSX_USE_COCOA
wxComboWidgetImpl* GetComboPeer() const;
#endif
#endif
virtual wxWindow *GetEditableWindow() { return this; }
-#if wxOSX_USE_CARBON
// override the base class virtuals involved in geometry calculations
virtual wxSize DoGetBestSize() const;
+#if wxOSX_USE_CARBON
virtual void DoMoveWindow(int x, int y, int width, int height);
#endif