pop the menu up on mouse down, not up (this is more common behaviour in Windows and both GTK and Qt apps)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,7 +14,7 @@ class MyTaskBarIcon: public wxTaskBarIcon
|
||||
public:
|
||||
MyTaskBarIcon() {};
|
||||
|
||||
void OnRButtonUp(wxEvent&);
|
||||
void OnRButtonDown(wxEvent&);
|
||||
void OnLButtonDClick(wxEvent&);
|
||||
void OnMenuRestore(wxCommandEvent&);
|
||||
void OnMenuExit(wxCommandEvent&);
|
||||
|
Reference in New Issue
Block a user