X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e181c7a2c32193fc8138cc32ed07984eadd4a21..f1ca421b41579701556dee2d15af6c0256dc8495:/include/wx/osx/core/private.h?ds=sidebyside diff --git a/include/wx/osx/core/private.h b/include/wx/osx/core/private.h index 462e0e882f..dec77345e5 100644 --- a/include/wx/osx/core/private.h +++ b/include/wx/osx/core/private.h @@ -235,7 +235,18 @@ public : // is the clicked event sent AFTER the state already changed, so no additional // state changing logic is required from the outside virtual bool ButtonClickDidStateChange() = 0; + + virtual void InstallEventHandler( WXWidget control = NULL ) = 0; + + // static methods for associating native controls and their implementations + static wxWidgetImpl* + FindFromWXWidget(WXWidget control); + + static void RemoveAssociations( wxWidgetImpl* impl); + + static void Associate( WXWidget control, wxWidgetImpl *impl ); + // static creation methods, must be implemented by all toolkits static wxWidgetImplType* CreateUserPane( wxWindowMac* wxpeer, @@ -495,6 +506,8 @@ public: // interface to be implemented by a textcontrol // +class WXDLLIMPEXP_FWD_CORE wxTextAttr; + // common interface for all implementations class WXDLLIMPEXP_CORE wxTextWidgetImpl @@ -518,7 +531,7 @@ public : virtual void Paste() ; virtual bool CanPaste() const ; virtual void SetEditable( bool editable ) ; - virtual wxTextPos GetLastPosition() const ; + virtual long GetLastPosition() const ; virtual void Replace( long from, long to, const wxString &str ) ; virtual void Remove( long from, long to ) ;