// get alerted when child gets deleted from under us
void OnDestroy(wxWindowDestroyEvent& event);
- void OnEnter(wxMouseEvent& event);
- void OnLeave(wxMouseEvent& event);
- void OnLeftDown(wxMouseEvent& event);
- void OnChildEnter(wxMouseEvent& event);
- void OnChildLeave(wxMouseEvent& event);
+#ifdef __WXMSW__
+ // check if the mouse needs captured or released
+ void OnIdle(wxIdleEvent& event);
+#endif
// the child of this popup if any
wxWindow *m_child;