search for: __wxdebug__

Displaying 8 results from an estimated 8 matches for "__wxdebug__".

Did you mean: d__wxdebug__
2005 Aug 18
3
wxDebug
For debug builds we define __WXDEBUG__ and WXDEBUG=1. In the swig code we add a check for wxDEBUG to directors. My guess is we mean for one of those defines to be the other. Which one should we change? wxDEBUG-> WXDEBUG or WXDEBUG-> wxDebug? Roy
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
...n><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>- printf("~wxRubyApp\n"); </del><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("~wxRubyApp\n"); </ins><span class="cx"> #endif&nbsp&nbsp&nbsp&nbsp&nbsp&...
2007 Jun 28
0
[1095] trunk/wxruby2: Remove useless methods from Wx::Object and add wx_class method for info; document
...t;ObjectRefData":objectrefdata.html - -h3(#Object_dump). Object#dump - - *dump*(%(arg-type)ostream% stream) - -A virtual function that may be redefined by derived classes to allow dumping of -memory states. - -This function is only defined in debug build and doesn''t exist at all if -@__WXDEBUG__@ is not defined. - -h4. Parameters - -* _stream_ Stream on which to output dump information. - -h4. Remarks - -Currently Widgets does not define Dump for derived classes, but -programmers may wish to use it for their own applications. Be sure to -call the Dump member of the class''s base cl...
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
...mp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspwxEntry(argc, argv); </span><span class="cx"> #endif </span><span class="cx"> </span><del>- - </del><span class="cx"> #ifdef __WXDEBUG__ </span><span class="cx"> printf("returned from wxEntry...\n"); </span><span class="cx"> #endif&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp </span><span class="lines">@@ -75,20 +75,20 @@ &...
2007 Mar 31
0
[934] branches/wxruby2/wxwidgets_282: Rename OnAssert to OnAssertFailure, reflecting wx 2.8 API
...;> %(arg-type)Char% msg) </span><span class="cx"> </span><del>-This function is called when an assert failure occurs, i.e. the condition -specified in "ASSERT":assert.html macro evaluated to @false@. -It is only called in debug mode (when @__WXDEBUG__@ is defined) as -asserts are not left in the release code at all. </del><ins>+This method is called when an assert failure occurs, i.e. a condition +specified in the WxWidgets C++ library evaluates to @false@. It is only +called if WxWidgets was compiled in debug mode (when @__WXDEBUG_...
2005 Aug 22
1
Patches for inheritance fixes for 2 classes and added 1 class
...atements all through the minimal sample and all the code was hit except for GUI event related code. I seems as everything is working fine but the GUI just does not show anything. Anyway in the process of looking for a fix I fixed some other errors that I came across. in App.i I changed wxDEBUG to __WXDEBUG__ now all the extra debug info is spit out at the command line (at least on Mac OS X, should on others also) in Window I got rid of the Clear() method which no longer exists, I am surprised we did not get a problem with this earlier. I also changed the GetFont method to the correct form. I added To...
2007 May 22
0
[1028] trunk/wxruby2/swig/classes/App.i: Fix some GC-mark crashes when SWIG trackings return an unexpected object
...ings) and check each one. </ins><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsprb_iterate(rb_each, swig_ruby_trackings, (VALUE(*)(...))mark_iterate, Qnil); </span><ins>+ </ins><span class="cx"> #ifdef __WXDEBUG__ </span><del>- printf("=== App GC mark phase completed\n"); </del><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("=== App GC mark phase completed\n"); </ins><span class="cx"> #endif </sp...
2007 Jan 05
0
[826] trunk/wxruby2/swig: Move RubyStockObjects back to App.i to avoid lots of error msg on GTK
...lt;/ins><span class="cx"> class wxRubyApp : public wxApp </span><span class="cx"> { </span><span class="cx"> </span><span class="lines">@@ -82,11 +84,17 @@ </span><span class="cx"> #ifdef __WXDEBUG__&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp </span><span class="cx"> printf("OnInitGui after\n"); </span><span class="cx"> #endif&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp </sp...