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:
Václav Slavík
2004-06-01 21:56:37 +00:00
parent cdb501108b
commit 96aecfc900
2 changed files with 3 additions and 3 deletions

View File

@@ -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&);