Cocoa text fields and views have their own context menus, so we should use those instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
779a4d41ef
commit
e908dbcc92
@ -33,6 +33,7 @@ public :
|
|||||||
virtual void GetSelection( long* from, long* to) const ;
|
virtual void GetSelection( long* from, long* to) const ;
|
||||||
virtual void SetSelection( long from , long to );
|
virtual void SetSelection( long from , long to );
|
||||||
virtual void WriteText(const wxString& str) ;
|
virtual void WriteText(const wxString& str) ;
|
||||||
|
virtual bool HasOwnContextMenu() const { return true; }
|
||||||
|
|
||||||
virtual void controlAction(WXWidget slf, void* _cmd, void *sender);
|
virtual void controlAction(WXWidget slf, void* _cmd, void *sender);
|
||||||
protected :
|
protected :
|
||||||
@ -62,6 +63,8 @@ public:
|
|||||||
virtual bool GetStyle(long position, wxTextAttr& style);
|
virtual bool GetStyle(long position, wxTextAttr& style);
|
||||||
virtual void SetStyle(long start, long end, const wxTextAttr& style);
|
virtual void SetStyle(long start, long end, const wxTextAttr& style);
|
||||||
|
|
||||||
|
virtual bool HasOwnContextMenu() const { return true; }
|
||||||
|
|
||||||
virtual void CheckSpelling(bool check);
|
virtual void CheckSpelling(bool check);
|
||||||
virtual wxSize GetBestSize() const;
|
virtual wxSize GetBestSize() const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user