search for: oninitgui

Displaying 6 results from an estimated 6 matches for "oninitgui".

2004 Jun 04
2
building wxruby-swig 0.0.16 on Mac
Grabbed 0.0.16 and tried a build for kicks. ...all good, except for a warning in MenuBar.cpp, then... g++ -c -I/usr/local/lib/wx/include/mac-2.4 -D__WXMAC__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fno-common -fno-common -pipe -fno-common -x objective-c++ -I /usr/local/lib/ruby/gems/1.8/rake-0.3.2/lib -I /usr/local/lib/ruby/site_ruby/1.8 -I
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&nbsp </span><span class="lines">@@ -75,20 +75,20 @@ </span><span class="cx"> return 0; </span><span class="cx"> } </span><span class="cx"> </span><del>- virtual bool OnInitGui() </del><ins>+ // This method initializes the stock objects (Pens, Brushes, Fonts) + // before yielding to ruby by calling the App''s on_init method. + // Note that as of wxWidget 2.8, the stock fonts in particular cannot + // be initialized any earlier than this wi...
2004 May 01
4
wxruby-swig 0.0.13 is up
This fixes the wxRED Mac link error. Thanks to Nick for pointing out that I hadn''t removed some wxRED code related to an earlier experiment. Hopefully this one will build on Mac, end-to-end. I also found and fixed a problem that was causing the crash on exit: wxWindows automatically deletes the C++ app object as soon as the last frame is closed. Later, when ruby garbage collected the
2007 Jan 05
0
[826] trunk/wxruby2/swig: Move RubyStockObjects back to App.i to avoid lots of error msg on GTK
...="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 </span><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n...
2006 Dec 26
0
[804] trunk/wxruby2/swig: Initialise stock colours (eg Wx::RED), pens and brushes when wxruby2 is
...s="cx"> </span><span class="lines">@@ -99,12 +92,6 @@ </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 </span><del>- if(result) - { - Init_wxRubyEventTypes(); - Init_wxRubyStockObjects(); -&nbsp&nbsp&...
2007 Jan 03
12
instalation problem
Hi Im testing wxRuby. I have a problem when ruby try to load the load wx. Im newbie to ruby, maybe a make a simple mistake : Best regards. Install wxRuby-------------------------------------------------------------- pedro@la-vaca-azul:~$ sudo gem install wxruby2-preview Need to update 2 gems from http://gems.rubyforge.org .. complete Select which gem to install for your platform (i486-linux)