// 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,
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 ) ;