+/////////////////////////////////////////////////////////////////////////////
+// wxTextEntry virtual implementations:
+
+void wxComboBox::WriteText(wxString const&)
+{
+}
+
+wxString wxComboBox::GetValue() const
+{
+ wxAutoNSAutoreleasePool pool;
+ return wxStringWithNSString([GetNSTextField() stringValue]);
+}
+
+void wxComboBox::Remove(long, long)
+{
+}
+
+void wxComboBox::Cut()
+{
+}
+
+void wxComboBox::Copy()
+{
+}
+
+void wxComboBox::Paste()
+{
+}
+
+void wxComboBox::Undo()
+{
+}
+
+void wxComboBox::Redo()
+{
+}
+
+bool wxComboBox::CanUndo() const
+{
+ return false;
+}
+
+bool wxComboBox::CanRedo() const
+{
+ return false;
+}
+
+void wxComboBox::SetInsertionPoint(long)
+{
+}
+
+long wxComboBox::GetInsertionPoint() const
+{
+ return 0;
+}
+
+wxTextPos wxComboBox::GetLastPosition() const
+{
+ // working - returns the size of the wxString
+ return (long)(GetValue().Len());
+}
+
+void wxComboBox::SetSelection(long, long)
+{
+}
+
+void wxComboBox::GetSelection(long*, long*) const
+{
+}
+
+bool wxComboBox::IsEditable() const
+{
+ return [GetNSTextField() isEditable];
+}
+
+void wxComboBox::SetEditable(bool editable)
+{
+ // first ensure that the current value is stored (in case the user had not finished editing
+ // before SetEditable(FALSE) was called)
+ DoSetValue(GetValue(),1);
+
+ [GetNSTextField() setEditable: editable];
+
+ // forces the focus on the textctrl to be lost - while focus is still maintained
+ // after SetEditable(FALSE) the user may still edit the control
+ // (might not the best way to do this..)
+ [GetNSTextField() abortEditing];
+}
+