search for: swig_class

Displaying 20 results from an estimated 24 matches for "swig_class".

2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...p;nbsp&nbsp2007-05-31 21:19:45 UTC (rev 1042) </span><span class="lines">@@ -34,465 +34,31 @@ </span><span class="cx"> </span><span class="cx"> </span><span class="cx"> %{ </span><ins>+ +extern swig_class cWxEvtHandler; </ins><span class="cx"> static VALUE callbacks = Qnil; </span><del>-extern swig_class cWxEvent; -extern swig_class cWxCalendarEvent; -extern swig_class cWxCloseEvent; -extern swig_class cWxCommandEvent; -extern swig_class cWxTextUrlEvent; -extern swi...
2007 Apr 29
0
[982] branches/wxruby2/wxwidgets_282/swig/classes/EvtHandler.i: Add EvtThunker mapping for TimerEvent (bug 10391)
...TC (rev 981) +++ branches/wxruby2/wxwidgets_282/swig/classes/EvtHandler.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-29 08:57:06 UTC (rev 982) </span><span class="lines">@@ -43,6 +43,7 @@ </span><span class="cx"> extern swig_class cWxPaintEvent; </span><span class="cx"> extern swig_class cWxUpdateUIEvent; </span><span class="cx"> extern swig_class cWxSizeEvent; </span><ins>+extern swig_class cWxTimerEvent; </ins><span class="cx"> extern swig_class...
2006 Dec 20
0
[790] trunk/wxruby2/swig/classes: Added TextUrlEvent class and EvtHandler mapping
...-12-20 22:59:02 UTC (rev 789) +++ trunk/wxruby2/swig/classes/EvtHandler.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-12-20 23:24:31 UTC (rev 790) </span><span class="lines">@@ -37,6 +37,7 @@ </span><span class="cx"> extern swig_class cWxCalendarEvent; </span><span class="cx"> extern swig_class cWxCloseEvent; </span><span class="cx"> extern swig_class cWxCommandEvent; </span><ins>+extern swig_class cWxTextUrlEvent; </ins><span class="cx"> extern swig_c...
2006 Dec 31
0
[814] trunk/wxruby2/swig/classes: Added ScrollEvent class plus event processing and handler methods
...-12-31 03:21:32 UTC (rev 813) +++ trunk/wxruby2/swig/classes/EvtHandler.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-12-31 04:04:00 UTC (rev 814) </span><span class="lines">@@ -56,6 +56,7 @@ </span><span class="cx"> extern swig_class cWxGridEditorCreatedEvent; </span><span class="cx"> extern swig_class cWxTreeEvent; </span><span class="cx"> extern swig_class cWxSplitterEvent; </span><ins>+extern swig_class cWxScrollEvent; </ins><span class="cx"> exter...
2006 Dec 31
0
[815] trunk/wxruby2/swig/classes: Added ContextMenuEvent class plus event handling methods
...-12-31 04:04:00 UTC (rev 814) +++ trunk/wxruby2/swig/classes/EvtHandler.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-12-31 11:18:32 UTC (rev 815) </span><span class="lines">@@ -66,6 +66,7 @@ </span><span class="cx"> extern swig_class cWxWindowCreateEvent; </span><span class="cx"> extern swig_class cWxWindowDestroyEvent; </span><span class="cx"> extern swig_class cWxMenuEvent; </span><ins>+extern swig_class cWxContextMenuEvent; </ins><span class="cx">...
2006 Dec 24
0
[802] trunk/wxruby2/swig/classes: Add support for MenuEvent (MENU_OPEN, MENU_CLOSE, MENU_HIGHLIGHT)
...-12-24 03:22:34 UTC (rev 801) +++ trunk/wxruby2/swig/classes/EvtHandler.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-12-24 12:03:48 UTC (rev 802) </span><span class="lines">@@ -64,6 +64,7 @@ </span><span class="cx"> extern swig_class cWxActivateEvent; </span><span class="cx"> extern swig_class cWxWindowCreateEvent; </span><span class="cx"> extern swig_class cWxWindowDestroyEvent; </span><ins>+extern swig_class cWxMenuEvent; </ins><span class="cx"> #if...
2006 Nov 07
0
[723] trunk/wxruby2: Added WindowCreateEvent and WindowDestroyEvent + event handlers (AF)
...-11-07 21:30:46 UTC (rev 722) +++ trunk/wxruby2/swig/classes/EvtHandler.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-11-07 21:47:19 UTC (rev 723) </span><span class="lines">@@ -61,6 +61,8 @@ </span><span class="cx"> extern swig_class cWxWizardEvent; </span><span class="cx"> extern swig_class cWxSashEvent; </span><span class="cx"> extern swig_class cWxActivateEvent; </span><ins>+extern swig_class cWxWindowCreateEvent; +extern swig_class cWxWindowDestroyEvent; </ins>&l...
2006 Sep 29
7
new crasher on bigdemo
Hi Seems that the last round of commits makes bigdemo crash fairly quickly. Guessing it''s something to do with either the Window or fixmodule change. Program received signal EXC_BAD_ACCESS, Could not access memory. 0x00034fbc in rb_obj_is_kind_of (obj=3825080, c=1839676) at object.c:523 523 object.c: No such file or directory. Any hints? alex
2005 Aug 04
2
Next swig problem
...ic types ... The reason for this is the way it trying to use something before declaring it: extern "C" void PostInit_wxSpinCtrl(void) { #ifndef __WXGTK__ rb_define_method(cWxSpinCtrl.klass, "set_selection", VALUEFUNC(_wrap_wxSpinCtrl_SetSelection), -1); #endif } extern swig_class cWxControl; swig_class cWxSpinCtrl; If I move the PostInit part down below the declaration all works fine (compilation wise).
2006 Jul 25
6
Wizards
Hi Please find attached a set of patches and swig files to implement Wizards for wxruby. Also a brief sample. Quick q - the C declarations of evt_xxx_xxx methods and their attaching to Ruby classes seems to be duplicated across Events.i and EvtHandler.i - is one of these the right place to be adding them? or both? Thanks alex _______________________________________________
2007 May 21
0
[1022] trunk/wxruby2/swig/classes/App.i: Memory mgmt: use Wx::App to mark still-alive Windows, set up Wx::THE_APP const
...%include "../common.i" </span><span class="cx"> </span><span class="lines">@@ -32,6 +32,8 @@ </span><span class="cx"> %{ </span><span class="cx"> </span><span class="cx"> extern swig_class cWxEvtHandler; </span><ins>+extern swig_class cWxWindow; +extern swig_class cWxEvent; </ins><span class="cx"> extern "C" void Init_wxRubyStockObjects(); </span><span class="cx"> </span><span class="cx"> </s...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...p2007-07-04 22:50:43 UTC (rev 1108) +++ trunk/wxruby2/swig/classes/App.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-07-05 18:45:10 UTC (rev 1109) </span><span class="lines">@@ -38,6 +38,7 @@ </span><span class="cx"> extern swig_class cWxEvtHandler; </span><span class="cx"> extern swig_class cWxWindow; </span><span class="cx"> extern swig_class cWxEvent; </span><ins>+extern void GC_SetWindowDeleted(void*); </ins><span class="cx"> extern "C" v...
2007 Jul 21
0
[1128] trunk/wxruby2/swig/common.i: Make GC_IsWindowDeleted function globally available
...;span class="cx"> </span><span class="lines">@@ -34,6 +35,7 @@ </span><span class="cx"> </span><span class="cx"> extern VALUE mWxruby2; // The global Wxruby2 module </span><span class="cx"> extern swig_class cWxTopLevelWindow; // used for wxWindow typemap in typemap.i </span><ins>+extern bool GC_IsWindowDeleted(void *ptr); </ins><span class="cx"> </span><span class="cx"> %} </span><span class="cx"> </span></span&gt...
2007 Jun 23
0
[1061] trunk/wxruby2/swig/classes/EvtHandler.i: Remove a lot of no longer needed includes from EvtHandler.i
...;span class="cx"> %include "include/wxEvtHandler.h" </span><span class="cx"> </span><del>- </del><span class="cx"> %{ </span><span class="cx"> </span><span class="cx"> extern swig_class cWxEvtHandler; </span></span></pre> </div> </div> </body> </html>
2007 Jul 20
0
[1125] trunk/wxruby2/swig/shared/control_with_items.i: Avoid MSW crashes when unexpected object is returned by SWIG tracking
...;/span><span class="lines">@@ -10,6 +10,8 @@ </span><span class="cx"> %ignore *::SetClientObject(int n, wxClientData * data); </span><span class="cx"> </span><span class="cx"> %{ </span><ins>+ extern swig_class cWxControlWithItems; + </ins><span class="cx"> // Returns a ruby object stored as client data </span><span class="cx"> static VALUE wxControlWithItems_get_client_data(wxControlWithItems *ptr, int n) { </span><span class="cx"> &am...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...s="cx"> #ifdef WXSCINTILLA </span><span class="cx"> # include <wx/wxscintilla.h> </span><span class="cx"> #endif </span><span class="lines">@@ -67,6 +68,8 @@ </span><span class="cx"> extern swig_class cWxWindowDestroyEvent; </span><span class="cx"> extern swig_class cWxMenuEvent; </span><span class="cx"> extern swig_class cWxContextMenuEvent; </span><ins>+extern swig_class cWxAuiManagerEvent; +extern swig_class cWxAuiNotebookEvent; </ins...
2007 Jul 21
0
[1133] trunk/wxruby2/swig/shared/control_with_items.i: Move mark func for ControlWithItems into shared file so changes affect
...amp;nbsp&nbsp&nbsp&nbsp&nbsp2007-07-21 15:50:04 UTC (rev 1133) </span><span class="lines">@@ -11,6 +11,7 @@ </span><span class="cx"> </span><span class="cx"> %{ </span><span class="cx"> extern swig_class cWxControlWithItems; </span><ins>+ extern void mark_wxControlWithItems(void* ptr); </ins><span class="cx"> </span><span class="cx"> // Returns a ruby object stored as client data </span><span class="cx"> static VALU...
2007 Jun 23
0
[1064] trunk/wxruby2/swig/Events.i: Removed unused func, updated comments
...od and internal_connect - in fact all the evt_xxx +// methods could now be implemented in ruby via ''connect'' +// Internal method that links a ruby Proc (the block passed to evt_xxx) +// to the WxWidgets C++ event handler method. </ins><span class="cx"> extern swig_class cWxEvtHandler; </span><ins>+extern void internal_connect(VALUE self, int firstId, int lastId, +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&a...
2007 Jan 05
0
[826] trunk/wxruby2/swig: Move RubyStockObjects back to App.i to avoid lots of error msg on GTK
...sp&nbsp&nbsp&nbsp&nbsp&nbsp2007-01-05 21:11:50 UTC (rev 826) </span><span class="lines">@@ -26,7 +26,9 @@ </span><span class="cx"> %{ </span><span class="cx"> </span><span class="cx"> extern swig_class cWxEvtHandler; </span><ins>+extern "C" void Init_wxRubyStockObjects(); </ins><span class="cx"> </span><ins>+ </ins><span class="cx"> class wxRubyApp : public wxApp </span><span class="cx"> { </sp...
2007 Jun 28
0
[1092] trunk/wxruby2/swig/classes/App.i: Pass correctly typed Events into filter_event, if defined (bug 10797);
...cx"> %rename(wx_initialize) Initialize; </span><span class="cx"> </span><span class="cx"> #////////////////////////////////// </span><span class="lines">@@ -36,6 +40,8 @@ </span><span class="cx"> extern swig_class cWxEvent; </span><span class="cx"> extern "C" void Init_wxRubyStockObjects(); </span><span class="cx"> </span><ins>+// Pre-fetched id because it''s called very frequently in wxRubyApp::FilterEvent +static VALUE filter_event_...