search for: wxmouse_btn_any

Displaying 2 results from an estimated 2 matches for "wxmouse_btn_any".

2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this affect anything at all?) and removes a definition that was causing a conflict. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jan 03
0
[819] trunk/wxruby2/swig/classes/MouseEvent.i: Added the MOUSE_BTN_XXX constants to test which button is changing state
...s">@@ -5,6 +5,16 @@ </span><span class="cx"> </span><span class="cx"> %module(directors="1") wxMouseEvent </span><span class="cx"> </span><ins>+// the symbolic names for the mouse buttons +enum +{ + wxMOUSE_BTN_ANY = -1, + wxMOUSE_BTN_NONE = 0, + wxMOUSE_BTN_LEFT = 1, + wxMOUSE_BTN_MIDDLE = 2, + wxMOUSE_BTN_RIGHT = 3 +}; + </ins><span class="cx"> %ignore wxMouseEvent::wxMouseEvent; </span><span class="cx"> </span><span class="...