+ // Mechanism used to keep track of whether a change should send an event
+ // Do SendEvents(false) when starting actions that would trigger programmatic events
+ // and SendEvents(true) at the end of the block.
+ virtual void SendEvents(bool shouldSendEvents) { m_shouldSendEvents = shouldSendEvents; }
+ virtual bool ShouldSendEvents() { return m_shouldSendEvents; }
+
+ // 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 WXWidget FindFocus();
+
+ // static creation methods, must be implemented by all toolkits
+
+ static wxWidgetImplType* CreateUserPane( wxWindowMac* wxpeer,
+ wxWindowMac* parent,
+ wxWindowID id,
+ const wxPoint& pos,