wxMenu* GetWXPeer() { return m_peer ; }
+ virtual void PopUp( wxWindow *win, int x, int y ) = 0;
+
static wxMenuImpl* Create( wxMenu* peer, const wxString& title );
static wxMenuImpl* CreateRootMenu( wxMenu* peer );
protected :
// 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,