#------------------------------------------------------------------------- # This file is automatically generated by the WXRuby3 interface generator. # Do not alter this file. #------------------------------------------------------------------------- class Wx::EvtHandler # from wxIdleEvent self.register_event_type EventType[ 'evt_idle', 0, Wx::EVT_IDLE, Wx::IdleEvent ] if Wx.const_defined?(:EVT_IDLE) # from wxNotifyEvent # from wxScrollEvent self.register_event_type EventType[ 'evt_scroll', 0, Wx::EVT_SCROLL, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL) self.register_event_type EventType[ 'evt_scroll_top', 0, Wx::EVT_SCROLL_TOP, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_TOP) self.register_event_type EventType[ 'evt_scroll_bottom', 0, Wx::EVT_SCROLL_BOTTOM, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_BOTTOM) self.register_event_type EventType[ 'evt_scroll_lineup', 0, Wx::EVT_SCROLL_LINEUP, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_LINEUP) self.register_event_type EventType[ 'evt_scroll_linedown', 0, Wx::EVT_SCROLL_LINEDOWN, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_LINEDOWN) self.register_event_type EventType[ 'evt_scroll_pageup', 0, Wx::EVT_SCROLL_PAGEUP, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_PAGEUP) self.register_event_type EventType[ 'evt_scroll_pagedown', 0, Wx::EVT_SCROLL_PAGEDOWN, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_PAGEDOWN) self.register_event_type EventType[ 'evt_scroll_thumbtrack', 0, Wx::EVT_SCROLL_THUMBTRACK, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_THUMBTRACK) self.register_event_type EventType[ 'evt_scroll_thumbrelease', 0, Wx::EVT_SCROLL_THUMBRELEASE, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_THUMBRELEASE) self.register_event_type EventType[ 'evt_scroll_changed', 0, Wx::EVT_SCROLL_CHANGED, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_SCROLL_CHANGED) self.register_event_type EventType[ 'evt_command_scroll', 1, Wx::EVT_COMMAND_SCROLL, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL) self.register_event_type EventType[ 'evt_command_scroll_top', 1, Wx::EVT_COMMAND_SCROLL_TOP, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_TOP) self.register_event_type EventType[ 'evt_command_scroll_bottom', 1, Wx::EVT_COMMAND_SCROLL_BOTTOM, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_BOTTOM) self.register_event_type EventType[ 'evt_command_scroll_lineup', 1, Wx::EVT_COMMAND_SCROLL_LINEUP, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_LINEUP) self.register_event_type EventType[ 'evt_command_scroll_linedown', 1, Wx::EVT_COMMAND_SCROLL_LINEDOWN, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_LINEDOWN) self.register_event_type EventType[ 'evt_command_scroll_pageup', 1, Wx::EVT_COMMAND_SCROLL_PAGEUP, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_PAGEUP) self.register_event_type EventType[ 'evt_command_scroll_pagedown', 1, Wx::EVT_COMMAND_SCROLL_PAGEDOWN, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_PAGEDOWN) self.register_event_type EventType[ 'evt_command_scroll_thumbtrack', 1, Wx::EVT_COMMAND_SCROLL_THUMBTRACK, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_THUMBTRACK) self.register_event_type EventType[ 'evt_command_scroll_thumbrelease', 0, Wx::EVT_COMMAND_SCROLL_THUMBRELEASE, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_THUMBRELEASE) self.register_event_type EventType[ 'evt_command_scroll_changed', 0, Wx::EVT_COMMAND_SCROLL_CHANGED, Wx::ScrollEvent ] if Wx.const_defined?(:EVT_COMMAND_SCROLL_CHANGED) # from wxScrollWinEvent self.register_event_type EventType[ 'evt_scrollwin', 0, Wx::EVT_SCROLLWIN, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN) self.register_event_type EventType[ 'evt_scrollwin_top', 0, Wx::EVT_SCROLLWIN_TOP, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_TOP) self.register_event_type EventType[ 'evt_scrollwin_bottom', 0, Wx::EVT_SCROLLWIN_BOTTOM, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_BOTTOM) self.register_event_type EventType[ 'evt_scrollwin_lineup', 0, Wx::EVT_SCROLLWIN_LINEUP, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_LINEUP) self.register_event_type EventType[ 'evt_scrollwin_linedown', 0, Wx::EVT_SCROLLWIN_LINEDOWN, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_LINEDOWN) self.register_event_type EventType[ 'evt_scrollwin_pageup', 0, Wx::EVT_SCROLLWIN_PAGEUP, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_PAGEUP) self.register_event_type EventType[ 'evt_scrollwin_pagedown', 0, Wx::EVT_SCROLLWIN_PAGEDOWN, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_PAGEDOWN) self.register_event_type EventType[ 'evt_scrollwin_thumbtrack', 0, Wx::EVT_SCROLLWIN_THUMBTRACK, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_THUMBTRACK) self.register_event_type EventType[ 'evt_scrollwin_thumbrelease', 0, Wx::EVT_SCROLLWIN_THUMBRELEASE, Wx::ScrollWinEvent ] if Wx.const_defined?(:EVT_SCROLLWIN_THUMBRELEASE) # from wxMouseEvent self.register_event_type EventType[ 'evt_left_down', 0, Wx::EVT_LEFT_DOWN, Wx::MouseEvent ] if Wx.const_defined?(:EVT_LEFT_DOWN) self.register_event_type EventType[ 'evt_left_up', 0, Wx::EVT_LEFT_UP, Wx::MouseEvent ] if Wx.const_defined?(:EVT_LEFT_UP) self.register_event_type EventType[ 'evt_left_dclick', 0, Wx::EVT_LEFT_DCLICK, Wx::MouseEvent ] if Wx.const_defined?(:EVT_LEFT_DCLICK) self.register_event_type EventType[ 'evt_middle_down', 0, Wx::EVT_MIDDLE_DOWN, Wx::MouseEvent ] if Wx.const_defined?(:EVT_MIDDLE_DOWN) self.register_event_type EventType[ 'evt_middle_up', 0, Wx::EVT_MIDDLE_UP, Wx::MouseEvent ] if Wx.const_defined?(:EVT_MIDDLE_UP) self.register_event_type EventType[ 'evt_middle_dclick', 0, Wx::EVT_MIDDLE_DCLICK, Wx::MouseEvent ] if Wx.const_defined?(:EVT_MIDDLE_DCLICK) self.register_event_type EventType[ 'evt_right_down', 0, Wx::EVT_RIGHT_DOWN, Wx::MouseEvent ] if Wx.const_defined?(:EVT_RIGHT_DOWN) self.register_event_type EventType[ 'evt_right_up', 0, Wx::EVT_RIGHT_UP, Wx::MouseEvent ] if Wx.const_defined?(:EVT_RIGHT_UP) self.register_event_type EventType[ 'evt_right_dclick', 0, Wx::EVT_RIGHT_DCLICK, Wx::MouseEvent ] if Wx.const_defined?(:EVT_RIGHT_DCLICK) self.register_event_type EventType[ 'evt_mouse_aux1_down', 0, Wx::EVT_AUX1_DOWN, Wx::MouseEvent ] if Wx.const_defined?(:EVT_AUX1_DOWN) self.register_event_type EventType[ 'evt_mouse_aux1_up', 0, Wx::EVT_AUX1_UP, Wx::MouseEvent ] if Wx.const_defined?(:EVT_AUX1_UP) self.register_event_type EventType[ 'evt_mouse_aux1_dclick', 0, Wx::EVT_AUX1_DCLICK, Wx::MouseEvent ] if Wx.const_defined?(:EVT_AUX1_DCLICK) self.register_event_type EventType[ 'evt_mouse_aux2_down', 0, Wx::EVT_AUX2_DOWN, Wx::MouseEvent ] if Wx.const_defined?(:EVT_AUX2_DOWN) self.register_event_type EventType[ 'evt_mouse_aux2_up', 0, Wx::EVT_AUX2_UP, Wx::MouseEvent ] if Wx.const_defined?(:EVT_AUX2_UP) self.register_event_type EventType[ 'evt_mouse_aux2_dclick', 0, Wx::EVT_AUX2_DCLICK, Wx::MouseEvent ] if Wx.const_defined?(:EVT_AUX2_DCLICK) self.register_event_type EventType[ 'evt_motion', 0, Wx::EVT_MOTION, Wx::MouseEvent ] if Wx.const_defined?(:EVT_MOTION) self.register_event_type EventType[ 'evt_enter_window', 0, Wx::EVT_ENTER_WINDOW, Wx::MouseEvent ] if Wx.const_defined?(:EVT_ENTER_WINDOW) self.register_event_type EventType[ 'evt_leave_window', 0, Wx::EVT_LEAVE_WINDOW, Wx::MouseEvent ] if Wx.const_defined?(:EVT_LEAVE_WINDOW) self.register_event_type EventType[ 'evt_mousewheel', 0, Wx::EVT_MOUSEWHEEL, Wx::MouseEvent ] if Wx.const_defined?(:EVT_MOUSEWHEEL) self.register_event_type EventType[ 'evt_mouse_events', 0, Wx::EVT_MOUSE_EVENTS, Wx::MouseEvent ] if Wx.const_defined?(:EVT_MOUSE_EVENTS) self.register_event_type EventType[ 'evt_magnify', 0, Wx::EVT_MAGNIFY, Wx::MouseEvent ] if Wx.const_defined?(:EVT_MAGNIFY) # from wxSetCursorEvent self.register_event_type EventType[ 'evt_set_cursor', 0, Wx::EVT_SET_CURSOR, Wx::SetCursorEvent ] if Wx.const_defined?(:EVT_SET_CURSOR) # from wxGestureEvent # from wxPanGestureEvent self.register_event_type EventType[ 'evt_gesture_pan', 1, Wx::EVT_GESTURE_PAN, Wx::PanGestureEvent ] if Wx.const_defined?(:EVT_GESTURE_PAN) # from wxZoomGestureEvent self.register_event_type EventType[ 'evt_gesture_zoom', 1, Wx::EVT_GESTURE_ZOOM, Wx::ZoomGestureEvent ] if Wx.const_defined?(:EVT_GESTURE_ZOOM) # from wxRotateGestureEvent self.register_event_type EventType[ 'evt_gesture_rotate', 1, Wx::EVT_GESTURE_ROTATE, Wx::RotateGestureEvent ] if Wx.const_defined?(:EVT_GESTURE_ROTATE) # from wxTwoFingerTapEvent self.register_event_type EventType[ 'evt_two_finger_tap', 1, Wx::EVT_TWO_FINGER_TAP, Wx::TwoFingerTapEvent ] if Wx.const_defined?(:EVT_TWO_FINGER_TAP) # from wxLongPressEvent self.register_event_type EventType[ 'evt_long_press', 1, Wx::EVT_LONG_PRESS, Wx::LongPressEvent ] if Wx.const_defined?(:EVT_LONG_PRESS) # from wxPressAndTapEvent self.register_event_type EventType[ 'evt_press_and_tap', 1, Wx::EVT_PRESS_AND_TAP, Wx::PressAndTapEvent ] if Wx.const_defined?(:EVT_PRESS_AND_TAP) # from wxKeyEvent self.register_event_type EventType[ 'evt_key_down', 0, Wx::EVT_KEY_DOWN, Wx::KeyEvent ] if Wx.const_defined?(:EVT_KEY_DOWN) self.register_event_type EventType[ 'evt_key_up', 0, Wx::EVT_KEY_UP, Wx::KeyEvent ] if Wx.const_defined?(:EVT_KEY_UP) self.register_event_type EventType[ 'evt_char', 0, Wx::EVT_CHAR, Wx::KeyEvent ] if Wx.const_defined?(:EVT_CHAR) self.register_event_type EventType[ 'evt_char_hook', 0, Wx::EVT_CHAR_HOOK, Wx::KeyEvent ] if Wx.const_defined?(:EVT_CHAR_HOOK) # from wxSizeEvent self.register_event_type EventType[ 'evt_size', 0, Wx::EVT_SIZE, Wx::SizeEvent ] if Wx.const_defined?(:EVT_SIZE) # from wxMoveEvent self.register_event_type EventType[ 'evt_move', 0, Wx::EVT_MOVE, Wx::MoveEvent ] if Wx.const_defined?(:EVT_MOVE) self.register_event_type EventType[ 'evt_move_start', 0, Wx::EVT_MOVE_START, Wx::MoveEvent ] if Wx.const_defined?(:EVT_MOVE_START) self.register_event_type EventType[ 'evt_moving', 0, Wx::EVT_MOVING, Wx::MoveEvent ] if Wx.const_defined?(:EVT_MOVING) self.register_event_type EventType[ 'evt_move_end', 0, Wx::EVT_MOVE_END, Wx::MoveEvent ] if Wx.const_defined?(:EVT_MOVE_END) # from wxPaintEvent self.register_event_type EventType[ 'evt_paint', 0, Wx::EVT_PAINT, Wx::PaintEvent ] if Wx.const_defined?(:EVT_PAINT) # from wxEraseEvent self.register_event_type EventType[ 'evt_erase_background', 0, Wx::EVT_ERASE_BACKGROUND, Wx::EraseEvent ] if Wx.const_defined?(:EVT_ERASE_BACKGROUND) # from wxFocusEvent self.register_event_type EventType[ 'evt_set_focus', 0, Wx::EVT_SET_FOCUS, Wx::FocusEvent ] if Wx.const_defined?(:EVT_SET_FOCUS) self.register_event_type EventType[ 'evt_kill_focus', 0, Wx::EVT_KILL_FOCUS, Wx::FocusEvent ] if Wx.const_defined?(:EVT_KILL_FOCUS) # from wxActivateEvent self.register_event_type EventType[ 'evt_activate', 0, Wx::EVT_ACTIVATE, Wx::ActivateEvent ] if Wx.const_defined?(:EVT_ACTIVATE) self.register_event_type EventType[ 'evt_activate_app', 0, Wx::EVT_ACTIVATE_APP, Wx::ActivateEvent ] if Wx.const_defined?(:EVT_ACTIVATE_APP) self.register_event_type EventType[ 'evt_hibernate', 0, Wx::EVT_HIBERNATE, Wx::ActivateEvent ] if Wx.const_defined?(:EVT_HIBERNATE) # from wxInitDialogEvent self.register_event_type EventType[ 'evt_init_dialog', 0, Wx::EVT_INIT_DIALOG, Wx::InitDialogEvent ] if Wx.const_defined?(:EVT_INIT_DIALOG) # from wxMenuEvent self.register_event_type EventType[ 'evt_menu_open', 0, Wx::EVT_MENU_OPEN, Wx::MenuEvent ] if Wx.const_defined?(:EVT_MENU_OPEN) self.register_event_type EventType[ 'evt_menu_close', 0, Wx::EVT_MENU_CLOSE, Wx::MenuEvent ] if Wx.const_defined?(:EVT_MENU_CLOSE) self.register_event_type EventType[ 'evt_menu_highlight', 1, Wx::EVT_MENU_HIGHLIGHT, Wx::MenuEvent ] if Wx.const_defined?(:EVT_MENU_HIGHLIGHT) self.register_event_type EventType[ 'evt_menu_highlight_all', 0, Wx::EVT_MENU_HIGHLIGHT_ALL, Wx::MenuEvent ] if Wx.const_defined?(:EVT_MENU_HIGHLIGHT_ALL) # from wxCloseEvent self.register_event_type EventType[ 'evt_close', 0, Wx::EVT_CLOSE_WINDOW, Wx::CloseEvent ] if Wx.const_defined?(:EVT_CLOSE_WINDOW) self.register_event_type EventType[ 'evt_query_end_session', 0, Wx::EVT_QUERY_END_SESSION, Wx::CloseEvent ] if Wx.const_defined?(:EVT_QUERY_END_SESSION) self.register_event_type EventType[ 'evt_end_session', 0, Wx::EVT_END_SESSION, Wx::CloseEvent ] if Wx.const_defined?(:EVT_END_SESSION) # from wxShowEvent self.register_event_type EventType[ 'evt_show', 0, Wx::EVT_SHOW, Wx::ShowEvent ] if Wx.const_defined?(:EVT_SHOW) # from wxIconizeEvent self.register_event_type EventType[ 'evt_iconize', 0, Wx::EVT_ICONIZE, Wx::IconizeEvent ] if Wx.const_defined?(:EVT_ICONIZE) # from wxMaximizeEvent self.register_event_type EventType[ 'evt_maximize', 0, Wx::EVT_MAXIMIZE, Wx::MaximizeEvent ] if Wx.const_defined?(:EVT_MAXIMIZE) # from wxFullScreenEvent self.register_event_type EventType[ 'evt_fullscreen', 0, Wx::EVT_FULLSCREEN, Wx::FullScreenEvent ] if Wx.const_defined?(:EVT_FULLSCREEN) # from wxJoystickEvent self.register_event_type EventType[ 'evt_joy_button_down', 0, Wx::EVT_JOY_BUTTON_DOWN, Wx::JoystickEvent ] if Wx.const_defined?(:EVT_JOY_BUTTON_DOWN) self.register_event_type EventType[ 'evt_joy_button_up', 0, Wx::EVT_JOY_BUTTON_UP, Wx::JoystickEvent ] if Wx.const_defined?(:EVT_JOY_BUTTON_UP) self.register_event_type EventType[ 'evt_joy_move', 0, Wx::EVT_JOY_MOVE, Wx::JoystickEvent ] if Wx.const_defined?(:EVT_JOY_MOVE) self.register_event_type EventType[ 'evt_joy_zmove', 0, Wx::EVT_JOY_ZMOVE, Wx::JoystickEvent ] if Wx.const_defined?(:EVT_JOY_ZMOVE) self.register_event_type EventType[ 'evt_joystick_events', 0, Wx::EVT_JOYSTICK_EVENTS, Wx::JoystickEvent ] if Wx.const_defined?(:EVT_JOYSTICK_EVENTS) # from wxDropFilesEvent self.register_event_type EventType[ 'evt_drop_files', 0, Wx::EVT_DROP_FILES, Wx::DropFilesEvent ] if Wx.const_defined?(:EVT_DROP_FILES) # from wxUpdateUIEvent self.register_event_type EventType[ 'evt_update_ui', 1, Wx::EVT_UPDATE_UI, Wx::UpdateUIEvent ] if Wx.const_defined?(:EVT_UPDATE_UI) self.register_event_type EventType[ 'evt_update_ui_range', 2, Wx::EVT_UPDATE_UI, Wx::UpdateUIEvent ] if Wx.const_defined?(:EVT_UPDATE_UI) # from wxSysColourChangedEvent self.register_event_type EventType[ 'evt_sys_colour_changed', 0, Wx::EVT_SYS_COLOUR_CHANGED, Wx::SysColourChangedEvent ] if Wx.const_defined?(:EVT_SYS_COLOUR_CHANGED) # from wxMouseCaptureChangedEvent self.register_event_type EventType[ 'evt_mouse_capture_changed', 0, Wx::EVT_MOUSE_CAPTURE_CHANGED, Wx::MouseCaptureChangedEvent ] if Wx.const_defined?(:EVT_MOUSE_CAPTURE_CHANGED) # from wxMouseCaptureLostEvent self.register_event_type EventType[ 'evt_mouse_capture_lost', 0, Wx::EVT_MOUSE_CAPTURE_LOST, Wx::MouseCaptureLostEvent ] if Wx.const_defined?(:EVT_MOUSE_CAPTURE_LOST) # from wxDisplayChangedEvent self.register_event_type EventType[ 'evt_display_changed', 0, Wx::EVT_DISPLAY_CHANGED, Wx::DisplayChangedEvent ] if Wx.const_defined?(:EVT_DISPLAY_CHANGED) # from wxDPIChangedEvent self.register_event_type EventType[ 'evt_dpi_changed', 0, Wx::EVT_DPI_CHANGED, Wx::DPIChangedEvent ] if Wx.const_defined?(:EVT_DPI_CHANGED) # from wxPaletteChangedEvent # from wxQueryNewPaletteEvent # from wxNavigationKeyEvent self.register_event_type EventType[ 'evt_navigation_key', 0, Wx::EVT_NAVIGATION_KEY, Wx::NavigationKeyEvent ] if Wx.const_defined?(:EVT_NAVIGATION_KEY) # from wxWindowCreateEvent self.register_event_type EventType[ 'evt_window_create', 0, Wx::EVT_CREATE, Wx::WindowCreateEvent ] if Wx.const_defined?(:EVT_CREATE) # from wxWindowDestroyEvent # from wxHelpEvent self.register_event_type EventType[ 'evt_help', 1, Wx::EVT_HELP, Wx::HelpEvent ] if Wx.const_defined?(:EVT_HELP) self.register_event_type EventType[ 'evt_help_range', 2, Wx::EVT_HELP, Wx::HelpEvent ] if Wx.const_defined?(:EVT_HELP) # from wxClipboardTextEvent self.register_event_type EventType[ 'evt_text_copy', 1, Wx::EVT_TEXT_COPY, Wx::ClipboardTextEvent ] if Wx.const_defined?(:EVT_TEXT_COPY) self.register_event_type EventType[ 'evt_text_cut', 1, Wx::EVT_TEXT_CUT, Wx::ClipboardTextEvent ] if Wx.const_defined?(:EVT_TEXT_CUT) self.register_event_type EventType[ 'evt_text_paste', 1, Wx::EVT_TEXT_PASTE, Wx::ClipboardTextEvent ] if Wx.const_defined?(:EVT_TEXT_PASTE) # from wxContextMenuEvent self.register_event_type EventType[ 'evt_context_menu', 0, Wx::EVT_CONTEXT_MENU, Wx::ContextMenuEvent ] if Wx.const_defined?(:EVT_CONTEXT_MENU) # from wxChildFocusEvent self.register_event_type EventType[ 'evt_child_focus', 0, Wx::EVT_CHILD_FOCUS, Wx::ChildFocusEvent ] if Wx.const_defined?(:EVT_CHILD_FOCUS) # from wxBookCtrlEvent # from wxCollapsiblePaneEvent self.register_event_type EventType[ 'evt_collapsiblepane_changed', 1, Wx::EVT_COLLAPSIBLEPANE_CHANGED, Wx::CollapsiblePaneEvent ] if Wx.const_defined?(:EVT_COLLAPSIBLEPANE_CHANGED) # from wxSpinEvent self.register_event_type EventType[ 'evt_spin', 1, Wx::EVT_SPIN, Wx::SpinEvent ] if Wx.const_defined?(:EVT_SPIN) self.register_event_type EventType[ 'evt_spin_up', 1, Wx::EVT_SPIN_UP, Wx::SpinEvent ] if Wx.const_defined?(:EVT_SPIN_UP) self.register_event_type EventType[ 'evt_spin_down', 1, Wx::EVT_SPIN_DOWN, Wx::SpinEvent ] if Wx.const_defined?(:EVT_SPIN_DOWN) # from wxFontPickerEvent self.register_event_type EventType[ 'evt_fontpicker_changed', 1, Wx::EVT_FONTPICKER_CHANGED, Wx::FontPickerEvent ] if Wx.const_defined?(:EVT_FONTPICKER_CHANGED) # from wxFindDialogEvent self.register_event_type EventType[ 'evt_find', 1, Wx::EVT_FIND, Wx::FindDialogEvent ] if Wx.const_defined?(:EVT_FIND) self.register_event_type EventType[ 'evt_find_next', 1, Wx::EVT_FIND_NEXT, Wx::FindDialogEvent ] if Wx.const_defined?(:EVT_FIND_NEXT) self.register_event_type EventType[ 'evt_find_replace', 1, Wx::EVT_FIND_REPLACE, Wx::FindDialogEvent ] if Wx.const_defined?(:EVT_FIND_REPLACE) self.register_event_type EventType[ 'evt_find_replace_all', 1, Wx::EVT_FIND_REPLACE_ALL, Wx::FindDialogEvent ] if Wx.const_defined?(:EVT_FIND_REPLACE_ALL) self.register_event_type EventType[ 'evt_find_close', 1, Wx::EVT_FIND_CLOSE, Wx::FindDialogEvent ] if Wx.const_defined?(:EVT_FIND_CLOSE) # from wxColourPickerEvent self.register_event_type EventType[ 'evt_colourpicker_changed', 1, Wx::EVT_COLOURPICKER_CHANGED, Wx::ColourPickerEvent ] if Wx.const_defined?(:EVT_COLOURPICKER_CHANGED) self.register_event_type EventType[ 'evt_colourpicker_current_changed', 1, Wx::EVT_COLOURPICKER_CURRENT_CHANGED, Wx::ColourPickerEvent ] if Wx.const_defined?(:EVT_COLOURPICKER_CURRENT_CHANGED) self.register_event_type EventType[ 'evt_colourpicker_dialog_cancelled', 1, Wx::EVT_COLOURPICKER_DIALOG_CANCELLED, Wx::ColourPickerEvent ] if Wx.const_defined?(:EVT_COLOURPICKER_DIALOG_CANCELLED) # from wxFileDirPickerEvent self.register_event_type EventType[ 'evt_filepicker_changed', 1, Wx::EVT_FILEPICKER_CHANGED, Wx::FileDirPickerEvent ] if Wx.const_defined?(:EVT_FILEPICKER_CHANGED) self.register_event_type EventType[ 'evt_dirpicker_changed', 1, Wx::EVT_DIRPICKER_CHANGED, Wx::FileDirPickerEvent ] if Wx.const_defined?(:EVT_DIRPICKER_CHANGED) # from wxListEvent self.register_event_type EventType[ 'evt_list_begin_drag', 1, Wx::EVT_LIST_BEGIN_DRAG, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_BEGIN_DRAG) self.register_event_type EventType[ 'evt_list_begin_rdrag', 1, Wx::EVT_LIST_BEGIN_RDRAG, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_BEGIN_RDRAG) self.register_event_type EventType[ 'evt_list_begin_label_edit', 1, Wx::EVT_LIST_BEGIN_LABEL_EDIT, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_BEGIN_LABEL_EDIT) self.register_event_type EventType[ 'evt_list_end_label_edit', 1, Wx::EVT_LIST_END_LABEL_EDIT, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_END_LABEL_EDIT) self.register_event_type EventType[ 'evt_list_delete_item', 1, Wx::EVT_LIST_DELETE_ITEM, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_DELETE_ITEM) self.register_event_type EventType[ 'evt_list_delete_all_items', 1, Wx::EVT_LIST_DELETE_ALL_ITEMS, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_DELETE_ALL_ITEMS) self.register_event_type EventType[ 'evt_list_item_selected', 1, Wx::EVT_LIST_ITEM_SELECTED, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_SELECTED) self.register_event_type EventType[ 'evt_list_item_deselected', 1, Wx::EVT_LIST_ITEM_DESELECTED, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_DESELECTED) self.register_event_type EventType[ 'evt_list_item_activated', 1, Wx::EVT_LIST_ITEM_ACTIVATED, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_ACTIVATED) self.register_event_type EventType[ 'evt_list_item_focused', 1, Wx::EVT_LIST_ITEM_FOCUSED, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_FOCUSED) self.register_event_type EventType[ 'evt_list_item_middle_click', 1, Wx::EVT_LIST_ITEM_MIDDLE_CLICK, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_MIDDLE_CLICK) self.register_event_type EventType[ 'evt_list_item_right_click', 1, Wx::EVT_LIST_ITEM_RIGHT_CLICK, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_RIGHT_CLICK) self.register_event_type EventType[ 'evt_list_key_down', 1, Wx::EVT_LIST_KEY_DOWN, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_KEY_DOWN) self.register_event_type EventType[ 'evt_list_insert_item', 1, Wx::EVT_LIST_INSERT_ITEM, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_INSERT_ITEM) self.register_event_type EventType[ 'evt_list_col_click', 1, Wx::EVT_LIST_COL_CLICK, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_COL_CLICK) self.register_event_type EventType[ 'evt_list_col_right_click', 1, Wx::EVT_LIST_COL_RIGHT_CLICK, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_COL_RIGHT_CLICK) self.register_event_type EventType[ 'evt_list_col_begin_drag', 1, Wx::EVT_LIST_COL_BEGIN_DRAG, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_COL_BEGIN_DRAG) self.register_event_type EventType[ 'evt_list_col_dragging', 1, Wx::EVT_LIST_COL_DRAGGING, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_COL_DRAGGING) self.register_event_type EventType[ 'evt_list_col_end_drag', 1, Wx::EVT_LIST_COL_END_DRAG, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_COL_END_DRAG) self.register_event_type EventType[ 'evt_list_cache_hint', 1, Wx::EVT_LIST_CACHE_HINT, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_CACHE_HINT) self.register_event_type EventType[ 'evt_list_item_checked', 1, Wx::EVT_LIST_ITEM_CHECKED, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_CHECKED) self.register_event_type EventType[ 'evt_list_item_unchecked', 1, Wx::EVT_LIST_ITEM_UNCHECKED, Wx::ListEvent ] if Wx.const_defined?(:EVT_LIST_ITEM_UNCHECKED) # from wxSplitterEvent self.register_event_type EventType[ 'evt_splitter_sash_pos_changing', 1, Wx::EVT_SPLITTER_SASH_POS_CHANGING, Wx::SplitterEvent ] if Wx.const_defined?(:EVT_SPLITTER_SASH_POS_CHANGING) self.register_event_type EventType[ 'evt_splitter_sash_pos_changed', 1, Wx::EVT_SPLITTER_SASH_POS_CHANGED, Wx::SplitterEvent ] if Wx.const_defined?(:EVT_SPLITTER_SASH_POS_CHANGED) self.register_event_type EventType[ 'evt_splitter_unsplit', 1, Wx::EVT_SPLITTER_UNSPLIT, Wx::SplitterEvent ] if Wx.const_defined?(:EVT_SPLITTER_UNSPLIT) self.register_event_type EventType[ 'evt_splitter_dclick', 1, Wx::EVT_SPLITTER_DCLICK, Wx::SplitterEvent ] if Wx.const_defined?(:EVT_SPLITTER_DCLICK) # from wxTreeEvent self.register_event_type EventType[ 'evt_tree_begin_drag', 1, Wx::EVT_TREE_BEGIN_DRAG, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_BEGIN_DRAG) self.register_event_type EventType[ 'evt_tree_begin_rdrag', 1, Wx::EVT_TREE_BEGIN_RDRAG, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_BEGIN_RDRAG) self.register_event_type EventType[ 'evt_tree_end_drag', 1, Wx::EVT_TREE_END_DRAG, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_END_DRAG) self.register_event_type EventType[ 'evt_tree_begin_label_edit', 1, Wx::EVT_TREE_BEGIN_LABEL_EDIT, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_BEGIN_LABEL_EDIT) self.register_event_type EventType[ 'evt_tree_end_label_edit', 1, Wx::EVT_TREE_END_LABEL_EDIT, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_END_LABEL_EDIT) self.register_event_type EventType[ 'evt_tree_delete_item', 1, Wx::EVT_TREE_DELETE_ITEM, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_DELETE_ITEM) self.register_event_type EventType[ 'evt_tree_get_info', 1, Wx::EVT_TREE_GET_INFO, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_GET_INFO) self.register_event_type EventType[ 'evt_tree_set_info', 1, Wx::EVT_TREE_SET_INFO, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_SET_INFO) self.register_event_type EventType[ 'evt_tree_item_activated', 1, Wx::EVT_TREE_ITEM_ACTIVATED, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_ACTIVATED) self.register_event_type EventType[ 'evt_tree_item_collapsed', 1, Wx::EVT_TREE_ITEM_COLLAPSED, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_COLLAPSED) self.register_event_type EventType[ 'evt_tree_item_collapsing', 1, Wx::EVT_TREE_ITEM_COLLAPSING, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_COLLAPSING) self.register_event_type EventType[ 'evt_tree_item_expanded', 1, Wx::EVT_TREE_ITEM_EXPANDED, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_EXPANDED) self.register_event_type EventType[ 'evt_tree_item_expanding', 1, Wx::EVT_TREE_ITEM_EXPANDING, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_EXPANDING) self.register_event_type EventType[ 'evt_tree_item_right_click', 1, Wx::EVT_TREE_ITEM_RIGHT_CLICK, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_RIGHT_CLICK) self.register_event_type EventType[ 'evt_tree_item_middle_click', 1, Wx::EVT_TREE_ITEM_MIDDLE_CLICK, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_MIDDLE_CLICK) self.register_event_type EventType[ 'evt_tree_sel_changed', 1, Wx::EVT_TREE_SEL_CHANGED, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_SEL_CHANGED) self.register_event_type EventType[ 'evt_tree_sel_changing', 1, Wx::EVT_TREE_SEL_CHANGING, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_SEL_CHANGING) self.register_event_type EventType[ 'evt_tree_key_down', 1, Wx::EVT_TREE_KEY_DOWN, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_KEY_DOWN) self.register_event_type EventType[ 'evt_tree_item_gettooltip', 1, Wx::EVT_TREE_ITEM_GETTOOLTIP, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_GETTOOLTIP) self.register_event_type EventType[ 'evt_tree_item_menu', 1, Wx::EVT_TREE_ITEM_MENU, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_ITEM_MENU) self.register_event_type EventType[ 'evt_tree_state_image_click', 1, Wx::EVT_TREE_STATE_IMAGE_CLICK, Wx::TreeEvent ] if Wx.const_defined?(:EVT_TREE_STATE_IMAGE_CLICK) # from wxDateEvent # from wxCalendarEvent # from wxTimerEvent # from wxSashEvent self.register_event_type EventType[ 'evt_sash_dragged', 1, Wx::EVT_SASH_DRAGGED, Wx::SashEvent ] if Wx.const_defined?(:EVT_SASH_DRAGGED) self.register_event_type EventType[ 'evt_sash_dragged_range', 2, Wx::EVT_SASH_DRAGGED_RANGE, Wx::SashEvent ] if Wx.const_defined?(:EVT_SASH_DRAGGED_RANGE) # from wxQueryLayoutInfoEvent self.register_event_type EventType[ 'evt_query_layout_info', 0, Wx::EVT_QUERY_LAYOUT_INFO, Wx::QueryLayoutInfoEvent ] if Wx.const_defined?(:EVT_QUERY_LAYOUT_INFO) # from wxCalculateLayoutEvent self.register_event_type EventType[ 'evt_calculate_layout', 0, Wx::EVT_CALCULATE_LAYOUT, Wx::CalculateLayoutEvent ] if Wx.const_defined?(:EVT_CALCULATE_LAYOUT) # from wxWizardEvent self.register_event_type EventType[ 'evt_wizard_page_changed', 1, Wx::EVT_WIZARD_PAGE_CHANGED, Wx::WizardEvent ] if Wx.const_defined?(:EVT_WIZARD_PAGE_CHANGED) self.register_event_type EventType[ 'evt_wizard_page_changing', 1, Wx::EVT_WIZARD_PAGE_CHANGING, Wx::WizardEvent ] if Wx.const_defined?(:EVT_WIZARD_PAGE_CHANGING) self.register_event_type EventType[ 'evt_wizard_before_page_changed', 1, Wx::EVT_WIZARD_BEFORE_PAGE_CHANGED, Wx::WizardEvent ] if Wx.const_defined?(:EVT_WIZARD_BEFORE_PAGE_CHANGED) self.register_event_type EventType[ 'evt_wizard_page_shown', 1, Wx::EVT_WIZARD_PAGE_SHOWN, Wx::WizardEvent ] if Wx.const_defined?(:EVT_WIZARD_PAGE_SHOWN) self.register_event_type EventType[ 'evt_wizard_cancel', 1, Wx::EVT_WIZARD_CANCEL, Wx::WizardEvent ] if Wx.const_defined?(:EVT_WIZARD_CANCEL) self.register_event_type EventType[ 'evt_wizard_help', 1, Wx::EVT_WIZARD_HELP, Wx::WizardEvent ] if Wx.const_defined?(:EVT_WIZARD_HELP) self.register_event_type EventType[ 'evt_wizard_finished', 1, Wx::EVT_WIZARD_FINISHED, Wx::WizardEvent ] if Wx.const_defined?(:EVT_WIZARD_FINISHED) # from wxTaskBarIconEvent # from wxMediaEvent self.register_event_type EventType[ 'evt_media_loaded', 1, Wx::EVT_MEDIA_LOADED, Wx::MediaEvent ] if Wx.const_defined?(:EVT_MEDIA_LOADED) self.register_event_type EventType[ 'evt_media_stop', 1, Wx::EVT_MEDIA_STOP, Wx::MediaEvent ] if Wx.const_defined?(:EVT_MEDIA_STOP) self.register_event_type EventType[ 'evt_media_finished', 1, Wx::EVT_MEDIA_FINISHED, Wx::MediaEvent ] if Wx.const_defined?(:EVT_MEDIA_FINISHED) self.register_event_type EventType[ 'evt_media_statechanged', 1, Wx::EVT_MEDIA_STATECHANGED, Wx::MediaEvent ] if Wx.const_defined?(:EVT_MEDIA_STATECHANGED) self.register_event_type EventType[ 'evt_media_play', 1, Wx::EVT_MEDIA_PLAY, Wx::MediaEvent ] if Wx.const_defined?(:EVT_MEDIA_PLAY) self.register_event_type EventType[ 'evt_media_pause', 1, Wx::EVT_MEDIA_PAUSE, Wx::MediaEvent ] if Wx.const_defined?(:EVT_MEDIA_PAUSE) # from wxCommandEvent self.register_event_type EventType[ 'evt_button', 1, Wx::EVT_BUTTON, Wx::CommandEvent ] if Wx.const_defined?(:EVT_BUTTON) self.register_event_type EventType[ 'evt_checkbox', 1, Wx::EVT_CHECKBOX, Wx::CommandEvent ] if Wx.const_defined?(:EVT_CHECKBOX) self.register_event_type EventType[ 'evt_choice', 1, Wx::EVT_CHOICE, Wx::CommandEvent ] if Wx.const_defined?(:EVT_CHOICE) self.register_event_type EventType[ 'evt_combobox', 1, Wx::EVT_COMBOBOX, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMBOBOX) self.register_event_type EventType[ 'evt_listbox', 1, Wx::EVT_LISTBOX, Wx::CommandEvent ] if Wx.const_defined?(:EVT_LISTBOX) self.register_event_type EventType[ 'evt_listbox_dclick', 1, Wx::EVT_LISTBOX_DCLICK, Wx::CommandEvent ] if Wx.const_defined?(:EVT_LISTBOX_DCLICK) self.register_event_type EventType[ 'evt_checklistbox', 1, Wx::EVT_CHECKLISTBOX, Wx::CommandEvent ] if Wx.const_defined?(:EVT_CHECKLISTBOX) self.register_event_type EventType[ 'evt_menu', 1, Wx::EVT_MENU, Wx::CommandEvent ] if Wx.const_defined?(:EVT_MENU) self.register_event_type EventType[ 'evt_menu_range', 2, Wx::EVT_MENU, Wx::CommandEvent ] if Wx.const_defined?(:EVT_MENU) self.register_event_type EventType[ 'evt_radiobox', 1, Wx::EVT_RADIOBOX, Wx::CommandEvent ] if Wx.const_defined?(:EVT_RADIOBOX) self.register_event_type EventType[ 'evt_radiobutton', 1, Wx::EVT_RADIOBUTTON, Wx::CommandEvent ] if Wx.const_defined?(:EVT_RADIOBUTTON) self.register_event_type EventType[ 'evt_scrollbar', 1, Wx::EVT_SCROLLBAR, Wx::CommandEvent ] if Wx.const_defined?(:EVT_SCROLLBAR) self.register_event_type EventType[ 'evt_slider', 1, Wx::EVT_SLIDER, Wx::CommandEvent ] if Wx.const_defined?(:EVT_SLIDER) self.register_event_type EventType[ 'evt_text', 1, Wx::EVT_TEXT, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TEXT) self.register_event_type EventType[ 'evt_text_enter', 1, Wx::EVT_TEXT_ENTER, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TEXT_ENTER) self.register_event_type EventType[ 'evt_text_maxlen', 1, Wx::EVT_TEXT_MAXLEN, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TEXT_MAXLEN) self.register_event_type EventType[ 'evt_togglebutton', 1, Wx::EVT_TOGGLEBUTTON, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TOGGLEBUTTON) self.register_event_type EventType[ 'evt_tool', 1, Wx::EVT_TOOL, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TOOL) self.register_event_type EventType[ 'evt_tool_range', 2, Wx::EVT_TOOL, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TOOL) self.register_event_type EventType[ 'evt_tool_rclicked', 1, Wx::EVT_TOOL_RCLICKED, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TOOL_RCLICKED) self.register_event_type EventType[ 'evt_tool_rclicked_range', 2, Wx::EVT_TOOL_RCLICKED, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TOOL_RCLICKED) self.register_event_type EventType[ 'evt_tool_enter', 1, Wx::EVT_TOOL_ENTER, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TOOL_ENTER) self.register_event_type EventType[ 'evt_command_left_click', 1, Wx::EVT_COMMAND_LEFT_CLICK, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMMAND_LEFT_CLICK) self.register_event_type EventType[ 'evt_command_left_dclick', 1, Wx::EVT_COMMAND_LEFT_DCLICK, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMMAND_LEFT_DCLICK) self.register_event_type EventType[ 'evt_command_right_click', 1, Wx::EVT_COMMAND_RIGHT_CLICK, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMMAND_RIGHT_CLICK) self.register_event_type EventType[ 'evt_command_set_focus', 1, Wx::EVT_COMMAND_SET_FOCUS, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMMAND_SET_FOCUS) self.register_event_type EventType[ 'evt_command_kill_focus', 1, Wx::EVT_COMMAND_KILL_FOCUS, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMMAND_KILL_FOCUS) self.register_event_type EventType[ 'evt_command_enter', 1, Wx::EVT_COMMAND_ENTER, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMMAND_ENTER) # from wxApp self.register_event_type EventType[ 'evt_dialup_connected', 0, Wx::EVT_DIALUP_CONNECTED, Wx::App ] if Wx.const_defined?(:EVT_DIALUP_CONNECTED) self.register_event_type EventType[ 'evt_dialup_disconnected', 0, Wx::EVT_DIALUP_DISCONNECTED, Wx::App ] if Wx.const_defined?(:EVT_DIALUP_DISCONNECTED) # from wxWindow # from wxTopLevelWindow # from wxFrame # from wxMenuItem # from wxDialog # from wxControl # from wxTextCtrl self.register_event_type EventType[ 'evt_text_url', 1, Wx::EVT_TEXT_URL, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TEXT_URL) # from wxCheckBox # from wxButton # from wxToggleButton # from wxComboBox self.register_event_type EventType[ 'evt_combobox_dropdown', 1, Wx::EVT_COMBOBOX_DROPDOWN, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMBOBOX_DROPDOWN) self.register_event_type EventType[ 'evt_combobox_closeup', 1, Wx::EVT_COMBOBOX_CLOSEUP, Wx::CommandEvent ] if Wx.const_defined?(:EVT_COMBOBOX_CLOSEUP) # from wxRadioBox # from wxPanel # from wxNotebook self.register_event_type EventType[ 'evt_notebook_page_changed', 1, Wx::EVT_NOTEBOOK_PAGE_CHANGED, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_NOTEBOOK_PAGE_CHANGED) self.register_event_type EventType[ 'evt_notebook_page_changing', 1, Wx::EVT_NOTEBOOK_PAGE_CHANGING, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_NOTEBOOK_PAGE_CHANGING) # from wxListBox # from wxChoice # from wxCollapsiblePane # from wxSlider # from wxSpinButton # from wxSpinCtrl self.register_event_type EventType[ 'evt_spinctrl', 1, Wx::EVT_SPINCTRL, Wx::SpinEvent ] if Wx.const_defined?(:EVT_SPINCTRL) # from wxBitmapButton # from wxRadioButton # from wxToolBar self.register_event_type EventType[ 'evt_tool_dropdown', 1, Wx::EVT_TOOL_DROPDOWN, Wx::CommandEvent ] if Wx.const_defined?(:EVT_TOOL_DROPDOWN) # from wxFontPickerCtrl # from wxScrolled # from wxScrolled # from wxScrolled # from wxToolbook self.register_event_type EventType[ 'evt_toolbook_page_changed', 1, Wx::EVT_TOOLBOOK_PAGE_CHANGED, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_TOOLBOOK_PAGE_CHANGED) self.register_event_type EventType[ 'evt_toolbook_page_changing', 1, Wx::EVT_TOOLBOOK_PAGE_CHANGING, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_TOOLBOOK_PAGE_CHANGING) # from wxChoicebook self.register_event_type EventType[ 'evt_choicebook_page_changed', 1, Wx::EVT_CHOICEBOOK_PAGE_CHANGED, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_CHOICEBOOK_PAGE_CHANGED) self.register_event_type EventType[ 'evt_choicebook_page_changing', 1, Wx::EVT_CHOICEBOOK_PAGE_CHANGING, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_CHOICEBOOK_PAGE_CHANGING) # from wxListbook self.register_event_type EventType[ 'evt_listbook_page_changed', 1, Wx::EVT_LISTBOOK_PAGE_CHANGED, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_LISTBOOK_PAGE_CHANGED) self.register_event_type EventType[ 'evt_listbook_page_changing', 1, Wx::EVT_LISTBOOK_PAGE_CHANGING, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_LISTBOOK_PAGE_CHANGING) # from wxTreebook self.register_event_type EventType[ 'evt_treebook_page_changed', 1, Wx::EVT_TREEBOOK_PAGE_CHANGED, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_TREEBOOK_PAGE_CHANGED) self.register_event_type EventType[ 'evt_treebook_page_changing', 1, Wx::EVT_TREEBOOK_PAGE_CHANGING, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_TREEBOOK_PAGE_CHANGING) self.register_event_type EventType[ 'evt_treebook_node_collapsed', 1, Wx::EVT_TREEBOOK_NODE_COLLAPSED, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_TREEBOOK_NODE_COLLAPSED) self.register_event_type EventType[ 'evt_treebook_node_expanded', 1, Wx::EVT_TREEBOOK_NODE_EXPANDED, Wx::BookCtrlEvent ] if Wx.const_defined?(:EVT_TREEBOOK_NODE_EXPANDED) # from wxColourPickerCtrl # from wxDirPickerCtrl # from wxFilePickerCtrl # from wxListCtrl # from wxSplitterWindow self.register_event_type EventType[ 'evt_splitter_sash_pos_resize', 1, Wx::EVT_SPLITTER_SASH_POS_RESIZE, Wx::SplitterEvent ] if Wx.const_defined?(:EVT_SPLITTER_SASH_POS_RESIZE) # from wxTreeCtrl # from wxCalendarCtrl self.register_event_type EventType[ 'evt_calendar', 1, Wx::EVT_CALENDAR, Wx::CalendarEvent ] if Wx.const_defined?(:EVT_CALENDAR) self.register_event_type EventType[ 'evt_calendar_sel_changed', 1, Wx::EVT_CALENDAR_SEL_CHANGED, Wx::CalendarEvent ] if Wx.const_defined?(:EVT_CALENDAR_SEL_CHANGED) self.register_event_type EventType[ 'evt_calendar_page_changed', 1, Wx::EVT_CALENDAR_PAGE_CHANGED, Wx::CalendarEvent ] if Wx.const_defined?(:EVT_CALENDAR_PAGE_CHANGED) self.register_event_type EventType[ 'evt_calendar_weekday_clicked', 1, Wx::EVT_CALENDAR_WEEKDAY_CLICKED, Wx::CalendarEvent ] if Wx.const_defined?(:EVT_CALENDAR_WEEKDAY_CLICKED) self.register_event_type EventType[ 'evt_calendar_week_clicked', 1, Wx::EVT_CALENDAR_WEEK_CLICKED, Wx::CalendarEvent ] if Wx.const_defined?(:EVT_CALENDAR_WEEK_CLICKED) # from wxDatePickerCtrl self.register_event_type EventType[ 'evt_date_changed', 1, Wx::EVT_DATE_CHANGED, Wx::DateEvent ] if Wx.const_defined?(:EVT_DATE_CHANGED) # from wxTimePickerCtrl self.register_event_type EventType[ 'evt_time_changed', 1, Wx::EVT_TIME_CHANGED, Wx::DateEvent ] if Wx.const_defined?(:EVT_TIME_CHANGED) # from wxSashWindow # from wxLayoutAlgorithm # from wxWizard # from wxCheckListBox # from wxTaskBarIcon self.register_event_type EventType[ 'evt_taskbar_move', 0, Wx::EVT_TASKBAR_MOVE, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_MOVE) self.register_event_type EventType[ 'evt_taskbar_left_down', 0, Wx::EVT_TASKBAR_LEFT_DOWN, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_LEFT_DOWN) self.register_event_type EventType[ 'evt_taskbar_left_up', 0, Wx::EVT_TASKBAR_LEFT_UP, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_LEFT_UP) self.register_event_type EventType[ 'evt_taskbar_right_down', 0, Wx::EVT_TASKBAR_RIGHT_DOWN, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_RIGHT_DOWN) self.register_event_type EventType[ 'evt_taskbar_right_up', 0, Wx::EVT_TASKBAR_RIGHT_UP, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_RIGHT_UP) self.register_event_type EventType[ 'evt_taskbar_left_dclick', 0, Wx::EVT_TASKBAR_LEFT_DCLICK, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_LEFT_DCLICK) self.register_event_type EventType[ 'evt_taskbar_right_dclick', 0, Wx::EVT_TASKBAR_RIGHT_DCLICK, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_RIGHT_DCLICK) self.register_event_type EventType[ 'evt_taskbar_click', 0, Wx::EVT_TASKBAR_CLICK, Wx::TaskBarIconEvent ] if Wx.const_defined?(:EVT_TASKBAR_CLICK) # from wxGenericDirCtrl self.register_event_type EventType[ 'evt_dirctrl_selectionchanged', 1, Wx::EVT_DIRCTRL_SELECTIONCHANGED, Wx::GenericDirCtrl ] if Wx.const_defined?(:EVT_DIRCTRL_SELECTIONCHANGED) self.register_event_type EventType[ 'evt_dirctrl_fileactivated', 1, Wx::EVT_DIRCTRL_FILEACTIVATED, Wx::GenericDirCtrl ] if Wx.const_defined?(:EVT_DIRCTRL_FILEACTIVATED) end