case wxMOUSE_BTN_RIGHT:
return RightDClick();
}
-
- return false;
}
// return true if was a button down event
case wxMOUSE_BTN_RIGHT:
return RightDown();
}
-
- return false;
}
// return true if was a button up event
case wxMOUSE_BTN_RIGHT:
return RightUp();
}
-
- return false;
}
// return true if the given button is currently changing state
case wxMOUSE_BTN_RIGHT:
return RightDown() || RightUp() || RightDClick();
}
-
- return false;
}
bool wxMouseEvent::ButtonIsDown(int but) const
case wxMOUSE_BTN_RIGHT:
return RightIsDown();
}
-
- return false;
}
int wxMouseEvent::GetButton() const
wxDynamicEventTableEntry *entry = (wxDynamicEventTableEntry*)node->GetData();
#endif // WXWIN_COMPATIBILITY_EVENT_TYPES/!WXWIN_COMPATIBILITY_EVENT_TYPES
- if ((event.m_eventType == entry->m_eventType) && entry->m_fn)
+ if ((event.m_eventType == entry->m_eventType) && (entry->m_fn != 0))
{
wxEvtHandler *handler =
#if !WXWIN_COMPATIBILITY_EVENT_TYPES