Displaying 6 results from an estimated 6 matches for "app_ptr".
Did you mean:
a_ptr
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
...t;span class="cx">
</span><span class="lines">@@ -39,22 +41,81 @@
</span><span class="cx"> {
</span><span class="cx">
</span><span class="cx"> public:
</span><del>- static VALUE app_ptr;
</del><span class="cx">
</span><span class="cx">
</span><del>- virtual ~wxRubyApp()
- {
</del><ins>+ virtual ~wxRubyApp()
+ {
</ins><span class="cx"> #ifdef __WXDEBUG__
</span><del>-...
2007 May 21
0
[1025] trunk/wxruby2/swig: Use Wx::THE_APP constant as global reference to App (as per WxWidgets);
...;>@@ -20,7 +20,7 @@
</span><span class="cx"> class wxRubyApp
</span><span class="cx"> {
</span><span class="cx"> public:
</span><del>-        static VALUE app_ptr;
</del><ins>+
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> void log_message(int argc, VALUE *argv, VALUE self)
</span><span class="lines">@@ -64,9 +64,7 @@
</span&...
2007 Jun 25
0
[1070] trunk/wxruby2/swig/fixdeleting.rb: Remove old, now unused, fixdeleting script
...'_wrap_new_App(int argc, VALUE *argv, VALUE self)''))
-                        # set the global app_ptr so wxGetApp can work
-                        lines = [line]
-     ...
2007 Mar 19
0
[898] branches/wxruby2/wxwidgets_282/swig/classes/App.i: Fix init of stock objects for Wx2.8 - was causing infinite loop +crash on OS X
...nbsp         Init_wxRubyStockObjects();
-
- return result;
</del><ins>+ Init_wxRubyStockObjects();
+         VALUE result = rb_funcall(wxRubyApp::app_ptr, rb_intern("on_init"), 0, NULL);
+         if ( result == Qfalse || result == Qnil ) {
+               ...
2006 Oct 25
0
[718] trunk/wxruby2/swig/classes/App.i: Put back Initialize function
...     return result;
+        }
+
+
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> VALUE wxRubyApp::app_ptr = Qnil;
</span></span></pre>
</div>
</div>
</body>
</html>
2006 Oct 23
0
[712] trunk/wxruby2/swig/classes/App.i: Removed unneeded debugging output & deprecated method (Alex Fenton)
...     return result;
-        }
-
-
</del><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> VALUE wxRubyApp::app_ptr = Qnil;
</span><span class="lines">@@ -158,7 +148,6 @@
</span><span class="cx"> public:
</span><span class="cx"> wxRubyApp() ;
</span><span class="cx"> virtual ~wxApp() ;
</span><del>- virtual...