Add CheckSpelling support for OS X Cocoa, make sure NSTextView-based wxTextCtrls emit EVT_TEXT, and a fix for GetStyle when position == length.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-11-26 21:52:42 +00:00
parent 7430a4bbf8
commit b9cf2753b4
3 changed files with 62 additions and 13 deletions

View File

@@ -301,10 +301,12 @@ protected :
@end
@interface wxNSTextView : NSTextView
@interface wxNSTextView : NSTextView <NSTextViewDelegate>
{
}
- (void)textDidChange:(NSNotification *)aNotification;
@end
@interface wxNSMenu : NSMenu

View File

@@ -60,6 +60,8 @@ public:
virtual bool GetStyle(long position, wxTextAttr& style);
virtual void SetStyle(long start, long end, const wxTextAttr& style);
virtual void CheckSpelling(bool check);
protected:
NSScrollView* m_scrollView;