noreply at rubyforge.org
2010-Mar-09 03:51 UTC
[wxruby-development] [ wxruby-Feature Requests-27945 ] Add Menu#get_h_menu
Feature Requests item #27945, was opened at 2010-03-09 03:51 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=221&aid=27945&group_id=35 Category: Missing method(s) in class Group: User request Status: Open Priority: 3 Submitted By: kore lui (luikore) Assigned to: Kevin Smith (qualitycode) Summary: Add Menu#get_h_menu Initial Comment: On windows there is a wxMenu::GetHMenu(), which returns the handle of the menu for the user to do some platform-specific operations. To add this method, in swig/classes/include/wxMenu.h, insert into line 43: #ifdef __WXMSW__ long GetHMenu() { return (long)m_hMenu; } #endif The attach file contains the modified wxMenu.h and a simple test. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=221&aid=27945&group_id=35