X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9cf2753b45161ab5ae88ac464e18981c9c8ae63..1814b27e4540a6719b2839e657200a1cd1eedca9:/include/wx/osx/cocoa/private.h diff --git a/include/wx/osx/cocoa/private.h b/include/wx/osx/cocoa/private.h index 41d450500e..e7ce32fa9a 100644 --- a/include/wx/osx/cocoa/private.h +++ b/include/wx/osx/cocoa/private.h @@ -144,7 +144,7 @@ public : virtual bool DoHandleKeyEvent(NSEvent *event); virtual bool DoHandleCharEvent(NSEvent *event, NSString *text); virtual void DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* otherWindow); - + virtual void SetupKeyEvent(wxKeyEvent &wxevent, NSEvent * nsEvent, NSString* charString = NULL); virtual void SetupMouseEvent(wxMouseEvent &wxevent, NSEvent * nsEvent); @@ -193,7 +193,7 @@ public : virtual ~wxNonOwnedWindowCocoaImpl(); - virtual void Destroy() ; + virtual void WillBeDestroyed() ; void Create( wxWindow* parent, const wxPoint& pos, const wxSize& size, long style, long extraStyle, const wxString& name ) ; @@ -234,7 +234,7 @@ public : virtual bool IsFullScreen() const; virtual bool ShowFullScreen(bool show, long style); - + virtual void ShowWithoutActivating(); virtual void RequestUserAttention(int flags); @@ -245,6 +245,9 @@ public : virtual bool IsActive(); + virtual void SetModified(bool modified); + virtual bool IsModified() const; + wxNonOwnedWindow* GetWXPeer() { return m_wxPeer; } protected : WX_wxNSWindow m_macWindow; @@ -284,7 +287,7 @@ protected : @end - @interface wxNSTextField : NSTextField + @interface wxNSTextField : NSTextField wxOSX_10_6_AND_LATER() { wxNSTextFieldEditor* fieldEditor; } @@ -294,19 +297,19 @@ protected : @end - @interface wxNSSecureTextField : NSSecureTextField + @interface wxNSSecureTextField : NSSecureTextField wxOSX_10_6_AND_LATER() { } @end - @interface wxNSTextView : NSTextView + @interface wxNSTextView : NSTextView wxOSX_10_6_AND_LATER() { } - + - (void)textDidChange:(NSNotification *)aNotification; - + @end @interface wxNSMenu : NSMenu