git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74177
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void Popup();
virtual void Dismiss();
virtual void Popup();
virtual void Dismiss();
+ virtual void SetEditable(bool editable);
+
private:
NSComboBox* m_comboBox;
};
private:
NSComboBox* m_comboBox;
};
[ax accessibilitySetValue: [NSNumber numberWithBool: NO] forAttribute: NSAccessibilityExpandedAttribute];
}
[ax accessibilitySetValue: [NSNumber numberWithBool: NO] forAttribute: NSAccessibilityExpandedAttribute];
}
+void wxNSComboBoxControl::SetEditable(bool editable)
+{
+ // TODO: unfortunately this does not work, setEditable just means the same as CB_READONLY
+ // I don't see a way to access the text field directly
+ NSComboBoxCell* c = [m_comboBox cell];
+ [c setEditable:editable];
+}
+
wxWidgetImplType* wxWidgetImpl::CreateComboBox( wxComboBox* wxpeer,
wxWindowMac* WXUNUSED(parent),
wxWindowID WXUNUSED(id),
wxWidgetImplType* wxWidgetImpl::CreateComboBox( wxComboBox* wxpeer,
wxWindowMac* WXUNUSED(parent),
wxWindowID WXUNUSED(id),