Fixes for wxPopupTransientWindow for wxMSW. Includes Patch #1181190,
and also fixes for automatically dismissing the popup whenever the mouse is clicked outside of the popup window. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -124,6 +124,15 @@ protected:
|
||||
// remove our event handlers
|
||||
void PopHandlers();
|
||||
|
||||
// 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);
|
||||
|
||||
// the child of this popup if any
|
||||
wxWindow *m_child;
|
||||
|
||||
@@ -138,6 +147,7 @@ protected:
|
||||
wxPopupWindowHandler *m_handlerPopup;
|
||||
wxPopupFocusHandler *m_handlerFocus;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(wxPopupTransientWindow)
|
||||
DECLARE_NO_COPY_CLASS(wxPopupTransientWindow)
|
||||
};
|
||||
|
Reference in New Issue
Block a user