Displaying 1 result from an estimated 1 matches for "wxmouse_btn_right".
2007 Jan 03
0
[819] trunk/wxruby2/swig/classes/MouseEvent.i: Added the MOUSE_BTN_XXX constants to test which button is changing state
...; %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="cx"> %import "include/wxObject.h"
</span></span></pre>
</div>
</div>
</...