X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ceade76a4913f9c6fd8dfda1fb291bf08e1d89..40717c90bf265de0a752d637a35cd88cb22bbd05:/include/wx/popupwin.h diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 2915205ed8..a347db9dc6 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -127,11 +127,10 @@ protected: // 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;