+ // get alerted when child gets deleted from under us
+ void OnDestroy(wxWindowDestroyEvent& event);
+
+ // wxOSX/Carbon doesn't generate mouse capture loss events currently so
+ // poll for the capture loss ourselves.
+#if defined(__WXMAC__) && wxOSX_USE_CARBON
+ // check if the mouse needs captured or released
+ void OnIdle(wxIdleEvent& event);
+#endif
+