Displaying 12 results from an estimated 12 matches for "wxevt_destroy".
2007 Apr 29
0
[995] branches/wxruby2/wxwidgets_282/swig/classes/include/events.rb: Fix argument signature for window_create/destroy events; use wxWidgets
...s="cx"> ["EVT_KILL_FOCUS", 1, "wxEVT_KILL_FOCUS"],
</span><span class="cx"> ["EVT_TIMER", 2, "wxEVT_TIMER"],
</span><del>-["EVT_CREATE", 2, "wxEVT_CREATE"],
-["EVT_DESTROY", 2, "wxEVT_DESTROY"],
</del><ins>+["EVT_WINDOW_CREATE", 1, "wxEVT_CREATE"],
+["EVT_WINDOW_DESTROY", 1, "wxEVT_DESTROY"],
</ins><span class="cx"> ["EVT_SCROLL", 1, "0"],
</span><span class="cx"> [&q...
2006 Nov 07
0
[723] trunk/wxruby2: Added WindowCreateEvent and WindowDestroyEvent + event handlers (AF)
...onst wxEventType *)0
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+static const wxEventType *createEvents[] =
+{
+ &wxEVT_CREATE,
+ (const wxEventType *)0
+};
+
+static const wxEventType *destroyEvents[] =
+{
+ &wxEVT_DESTROY,
+ (const wxEventType *)0
+};
+
</ins><span class="cx"> #ifdef WXSCINTILLA
</span><span class="cx"> static const wxEventType *scintillaEvents[] =
</span><span class="cx"> {
</span><span class="lines">@@ -373,6...
2006 Dec 24
0
[802] trunk/wxruby2/swig/classes: Add support for MenuEvent (MENU_OPEN, MENU_CLOSE, MENU_HIGHLIGHT)
...uot;cx"> else if(event.IsKindOf(CLASSINFO(wxTextUrlEvent)))
</span><span class="lines">@@ -1090,6 +1101,28 @@
</span><span class="cx"> {
</span><span class="cx"> return internal_evt_no_parameters(argc, argv, self, wxEVT_DESTROY);
</span><span class="cx"> }
</span><ins>+
+static VALUE evt_menu_open(int argc, VALUE *argv, VALUE self)
+{
+ return internal_evt_no_parameters(argc, argv, self, wxEVT_MENU_OPEN);
+}
+
+static VALUE evt_menu_close(int argc, VALUE *argv, VALUE self)
+{
+ re...
2007 May 31
0
[1037] trunk/wxruby2/swig/RubyEventTypes.i: RubyEventTypes is no longer needed - moved to Events.i
...P;// 405)
-#ifdef wxHAS_POWER_EVENTS // currently Win32 only
- %constant const int wxEVT_POWER_SUSPENDING;// 406)
- %constant const int wxEVT_POWER_SUSPENDED;// 407)
-#endif
- %constant const int wxEVT_ACTIVATE;// 409)
- %constant const int wxEVT_CREATE;// 410)
- %constant const int wxEVT_DESTROY;// 411)
- %constant const int wxEVT_SHOW;// 412)
- %constant const int wxEVT_ICONIZE;// 413)
- %constant const int wxEVT_MAXIMIZE;// 414)
- %constant const int wxEVT_MOUSE_CAPTURE_CHANGED;// 415)
- %constant const int wxEVT_PAINT;// 416)
- %constant const int wxEVT_ERASE_BACKGROUN...
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
...amp;nbsp      static int argc = 1;
+         static wxChar *argv[] = {wxT("wxruby"), NULL};
+         this->Connect(wxEVT_DESTROY,
+                                 ...
2006 Dec 31
0
[814] trunk/wxruby2/swig/classes: Added ScrollEvent class plus event processing and handler methods
...09,6 +219,15 @@
</span><span class="cx"> ["EVT_TIMER", 2, "wxEVT_TIMER"],
</span><span class="cx"> ["EVT_CREATE", 2, "wxEVT_CREATE"],
</span><span class="cx"> ["EVT_DESTROY", 2, "wxEVT_DESTROY"],
</span><ins>+["EVT_SCROLL", 1, "0"],
+["EVT_SCROLL_TOP", 1, "wxEVT_SCROLL_TOP"],
+["EVT_SCROLL_BOTTOM", 1, "wxEVT_SCROLL_BOTTOM"],
+["EVT_SCROLL_LINEUP", 1, "wxEVT_SCROLL_LINEUP"],
+["EVT_SCROLL...
2007 Jun 25
0
[1066] trunk/wxruby2/swig: Move EVT constants in swig/classes/Event.i; add a few missing ones
...nt wxEVT_ACTIVATE_APP;// 405)
-#ifdef wxHAS_POWER_EVENTS // currently Win32 only
-%constant const int wxEVT_POWER_SUSPENDING;// 406)
-%constant const int wxEVT_POWER_SUSPENDED;// 407)
-#endif
-%constant const int wxEVT_ACTIVATE;// 409)
-%constant const int wxEVT_CREATE;// 410)
-%constant const int wxEVT_DESTROY;// 411)
-%constant const int wxEVT_SHOW;// 412)
-%constant const int wxEVT_ICONIZE;// 413)
-%constant const int wxEVT_MAXIMIZE;// 414)
-%constant const int wxEVT_MOUSE_CAPTURE_CHANGED;// 415)
-%constant const int wxEVT_PAINT;// 416)
-%constant const int wxEVT_ERASE_BACKGROUND;// 417)
-%constant con...
2007 May 31
0
[1036] trunk/wxruby2: Merge RubyEventTypes into Events.i, add missing EVT_ constants for
...nt wxEVT_ACTIVATE_APP;// 405)
+#ifdef wxHAS_POWER_EVENTS // currently Win32 only
+%constant const int wxEVT_POWER_SUSPENDING;// 406)
+%constant const int wxEVT_POWER_SUSPENDED;// 407)
+#endif
+%constant const int wxEVT_ACTIVATE;// 409)
+%constant const int wxEVT_CREATE;// 410)
+%constant const int wxEVT_DESTROY;// 411)
+%constant const int wxEVT_SHOW;// 412)
+%constant const int wxEVT_ICONIZE;// 413)
+%constant const int wxEVT_MAXIMIZE;// 414)
+%constant const int wxEVT_MOUSE_CAPTURE_CHANGED;// 415)
+%constant const int wxEVT_PAINT;// 416)
+%constant const int wxEVT_ERASE_BACKGROUND;// 417)
+%constant con...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...*)0
-};
-
-static const wxEventType *activateEvents[] =
-{
- &wxEVT_ACTIVATE,
- &wxEVT_ACTIVATE_APP,
- (const wxEventType *)0
-};
-
-static const wxEventType *createEvents[] =
-{
- &wxEVT_CREATE,
- (const wxEventType *)0
-};
-
-static const wxEventType *destroyEvents[] =
-{
- &wxEVT_DESTROY,
- (const wxEventType *)0
-};
-
-static const wxEventType *menuEvents[] =
-{
- &wxEVT_MENU_OPEN,
- &wxEVT_MENU_CLOSE,
- &wxEVT_MENU_HIGHLIGHT,
- (const wxEventType *)0
-};
-
-static const wxEventType *contextMenuEvents[] =
-{
- &wxEVT_CONTEXT_MENU,
- (const wxEventType *)0
-}...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...rgv, self, wxEVT_ACTIVATE_APP);
-}
-
-static VALUE evt_create(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_CREATE);
-}
-
-static VALUE evt_destroy(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_DESTROY);
-}
-
-static VALUE evt_menu_open(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_MENU_OPEN);
-}
-
-static VALUE evt_menu_close(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_MENU_CLOSE);
-...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...quot;],
-["EVT_TASKBAR_MOVE", 1, "wxEVT_TASKBAR_MOVE"],
-["EVT_KILL_FOCUS", 1, "wxEVT_KILL_FOCUS"],
-["EVT_TIMER", 2, "wxEVT_TIMER"],
-["EVT_WINDOW_CREATE", 1, "wxEVT_CREATE"],
-["EVT_WINDOW_DESTROY", 1, "wxEVT_DESTROY"],
-["EVT_SCROLL", 1, "0"],
-["EVT_SCROLL_TOP", 1, "wxEVT_SCROLL_TOP"],
-["EVT_SCROLL_BOTTOM", 1, "wxEVT_SCROLL_BOTTOM"],
-["EVT_SCROLL_LINEUP", 1, "wxEVT_SCROLL_LINEUP"],
-["EVT_SCROLL_LINEDOWN", 1,"...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...t int wxEVT_POWER_SUSPENDED;// 407)
+#endif
</ins><span class="cx"> %constant const int wxEVT_ACTIVATE;// 409)
</span><span class="cx"> %constant const int wxEVT_CREATE;// 410)
</span><span class="cx"> %constant const int wxEVT_DESTROY;// 411)
</span></span></pre></div>
<a id="brancheswxruby2wxwidgets_282swigRubyStockObjectsi"></a>
<div class="modfile"><h4>Modified: branches/wxruby2/wxwidgets_282/swig/RubyStockObjects.i (882 => 883)</h4>
<pre class=&q...