GWIN Button bug fix

GWIN Buttons are now tested and working.
ugfx_release_2.6
Andrew Hannam 2012-12-02 16:47:11 +10:00
parent b819359442
commit 1394b41d48
1 changed files with 1 additions and 5 deletions

View File

@ -305,12 +305,8 @@ bool_t gwinAttachButtonSource(GHandle gh, GSourceHandle gsh, GEventType type) {
switch (type) {
#if defined(GINPUT_NEED_MOUSE) && GINPUT_NEED_MOUSE
case GEVENT_MOUSE:
flags = 0;
break;
#endif
#if defined(GINPUT_NEED_TOUCH) && GINPUT_NEED_TOUCH
case GEVENT_TOUCH:
flags = 0;
flags = GLISTEN_MOUSEMETA;
break;
#endif
#if defined(GINPUT_NEED_TOGGLE) && GINPUT_NEED_TOGGLE