search for: wxinitializestockobject

Displaying 5 results from an estimated 5 matches for "wxinitializestockobject".

2006 Oct 03
2
InitAllImageHandlers et. al.
I''m going to submit a patch that will call wxInitializeStockObjects wxInitializeStockLists wxInitAllImageHandlers in wx.cpp on startup. I''ll remove the calls from all the samples. Does anyone have any beef with this? Roy
2006 Dec 06
0
[ wxruby-Bugs-7131 ] Stock colours (eg Wx::WHITE) are not available before App#on_init
...up: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Kevin Smith (qualitycode) Summary: Stock colours (eg Wx::WHITE) are not available before App#on_init Initial Comment: The stock colour constants eg Wx::WHITE, Wx::BLUE are initialized by a call to wxInitializeStockObjects in %init of Wx::App (see swig/App.i) However, this means they are only available after an application is started. In the old wxruby 0.6.0 they were available as soon as the wxruby library was loaded, so presumably it can be done. This is a problem because it means that code like this doesn'...
2007 Jan 05
0
[826] trunk/wxruby2/swig: Move RubyStockObjects back to App.i to avoid lots of error msg on GTK
...t;>@@ -69,14 +68,10 @@ </span><span class="cx"> </span><span class="cx"> extern void InitializeOtherModules(); </span><span class="cx"> InitializeOtherModules(); </span><del>- wxInitializeStockLists(); - wxInitializeStockObjects(); </del><span class="cx"> wxInitAllImageHandlers(); </span><span class="cx"> </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// Load the event type constants </span><sp...
2006 Dec 26
0
[804] trunk/wxruby2/swig: Initialise stock colours (eg Wx::RED), pens and brushes when wxruby2 is
...l>- </del><span class="cx"> extern void InitializeOtherModules(); </span><span class="cx"> InitializeOtherModules(); </span><span class="cx"> wxInitializeStockLists(); </span><span class="cx"> wxInitializeStockObjects(); </span><span class="cx"> wxInitAllImageHandlers(); </span><ins>+ +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// Load the event type constants +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspInit_wxRubyEv...
2004 Jun 11
5
Re: FW: problems installing wxruby
...and probably some other contrib''d items) as part of wxruby. For the moment, I would recommend whatever is the least amount of work to actually get it functional. I haven''t yet figured out how add-ons like that should be structured in wxruby. > 2.5.2, changes this and calls wxInitializeStockObjects from an instance > method wxApp, which means that an app needs to be created BEFORE any > constants can be loaded into the Wx module in ruby. This breaks all the > examples :) Very interesting. In wxruby-swig, I was forced into the same pattern even with wxWindows 2.4.2, due to ho...