Displaying 6 results from an estimated 6 matches for "getmenu".
2006 Jan 20
7
Wine and Kaleidagraph
...00000000 7fc1f7a0 027f067f
0200: sel=1007 base=7fee2000 limit=00001fff 32-bit rw-
Backtrace:
=>1 0x7ff0f841 wine_cp_wcstombs+0xb71 in libwine_unicode.so.1 (0x7fc1f7c4)
2 0x7fcd99d1 WideCharToMultiByte+0xe1 in kernel32 (0x7fc1f800)
3 0x7fa82467 in user32 (+0x52467) (0x7fc1f850)
4 0x7fa82636 GetMenuItemInfoA+0x16 in user32 (0x7fc1f860)
fixme:dbghelp:sffip_cb NIY on 'C:\SRC\Kg35\ASI_STD\Release\KGASI.pdb'
5 0x7ec9ffbd ASI_AddResFontMenu+0xdfd in kgasi (0x7fc1fb58)
6 0x7eca03d9 DrawMenuBa+0x9 in kgasi (0x7fc1fb60)
fixme:dbghelp:sffip_cb NIY on 'C:\SRC\Kg35\KG_US\Release\KGraph.pd...
2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
...n-scope ruby
-// variable and cause segfaults, MenuBars are always marked via the
-// containing Frame.
-void GC_mark_MenuBarBelongingToFrame(wxMenuBar *menu_bar)
-{
- rb_gc_mark( SWIG_RubyInstanceFor(menu_bar) );
- // Mark each menu in the menubar in turn
- for ( int i = 0; i < menu_bar->GetMenuCount(); i++ )
-        {
-         wxMenu* menu = menu_bar->GetMenu(i);
-         rb_gc_mark( SWIG_Ru...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...ubyInstanceFor(ptr);
- if ( rb_iv_get(rb_win, "@__wx_destroyed__") == Qtrue )
-         return;
-
- wxMenuBar* menu_bar = (wxMenuBar*)ptr;
- // Mark each menu in the menubar in turn
- for ( int i = 0; i < menu_bar->GetMenuCount(); i++ )
-        {
-         wxMenu* menu = menu_bar->GetMenu(i);
-         VALUE rb_menu = SWI...
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
...n-scope ruby
+// variable and cause segfaults, MenuBars are always marked via the
+// containing Frame.
+void GC_mark_MenuBarBelongingToFrame(wxMenuBar *menu_bar)
+{
+ rb_gc_mark( SWIG_RubyInstanceFor(menu_bar) );
+ // Mark each menu in the menubar in turn
+ for ( int i = 0; i < menu_bar->GetMenuCount(); i++ )
+        {
+         wxMenu* menu = menu_bar->GetMenu(i);
+         rb_gc_mark( SWIG_Ru...
2007 May 22
0
[1029] trunk/wxruby2/swig/classes/MenuBar.i: Add special GC protection for Wx::Menu to prevent premature destruction
..._") == Qtrue )
+         return;
</ins><span class="cx">
</span><ins>+ wxMenuBar* menu_bar = (wxMenuBar*)ptr;
+ // Mark each menu in the menubar in turn
+ for ( int i = 0; i < menu_bar->GetMenuCount(); i++ )
+        {
+         wxMenu* menu = menu_bar->GetMenu(i);
+         VALUE rb_menu = SWI...
2006 Dec 24
0
[802] trunk/wxruby2/swig/classes: Add support for MenuEvent (MENU_OPEN, MENU_CLOSE, MENU_HIGHLIGHT)
...sp  /**
-         * \brief Returns the menu identifier associated with the event. This method should be
-only used with the events.
-        */
-
- int GetMenuId() const;
-        /**
-         * \brief Returns if the menu which is being opened or closed is a popup menu,
- if it is a normal one.
-
-This method should be only...