Added further 'missing' wxTextCtrl-like functions to wxComboBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-12-09 15:16:51 +00:00
parent 8d7ea2312e
commit 150e31d208
18 changed files with 1155 additions and 110 deletions

View File

@@ -122,6 +122,24 @@ public:
{ wxTextCtrl::SetSelection(from,to); }
virtual void SetEditable(bool editable)
{ wxTextCtrl::SetEditable(editable); }
virtual bool IsEditable() const
{ return !HasFlag(wxCB_READONLY); }
virtual void Undo()
{ wxTextCtrl::Undo(); }
virtual void Redo()
{ wxTextCtrl::Redo(); }
virtual void SelectAll()
{ wxTextCtrl::SelectAll(); }
virtual bool CanCopy() const
{ return wxTextCtrl::CanCopy(); }
virtual bool CanCut() const = 0
{ return wxTextCtrl::CanCut(); }
virtual bool CanPaste() const
{ return wxTextCtrl::CanPaste(); }
virtual bool CanUndo() const
{ return wxTextCtrl::CanUndo(); }
virtual bool CanRedo() const
{ return wxTextCtrl::CanRedo(); }
};
#endif // __WX_COCOA_COMBOBOX_H__