Skip to content

Commit

Permalink
remove undocumented and unwanted wxFindFocusDescendant
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorino committed Oct 19, 2023
1 parent be146c9 commit 25720ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions lib/wx/doc/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,4 @@ def clone; end

end

# Find a window with the focus, that is also a descendant of the given window.
# This is used to determine the window to initially send commands to.
# @param [Wx::Window] ancestor
# @return [Wx::Window,nil] descendant window of ancestor with focus
def self.find_focus_descendant(ancestor) end

end
2 changes: 0 additions & 2 deletions rakelib/lib/director/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ class WXRUBY_EXPORT wxRubyCommandEvent : public wxCommandEvent
spec.add_swig_code %Q{%constant wxEventType wxEVT_MENU_HIGHLIGHT_ALL = wxEVT_MENU_HIGHLIGHT;}
# add event type constant missing from interface defs
spec.add_swig_code %Q{%constant wxEventType wxEVT_NC_PAINT = wxEVT_NC_PAINT;}
# add undocumented global function
spec.add_swig_code 'wxWindow* wxFindFocusDescendant(wxWindow* ancestor);'
end
super
end
Expand Down

0 comments on commit 25720ba

Please sign in to comment.