search for: wx_ctor_param

Displaying 7 results from an estimated 7 matches for "wx_ctor_param".

Did you mean: wx_ctor_params
2007 Jan 06
0
[836] trunk/wxsugar/lib/wx_sugar: Make :validator and :name sugary ctor args work for Controls classes
...;nbsp&nbsp&nbspSplash screen class </span><ins>+# FIXME - this probably won''t work at present because the ''parent'' arg +# comes in a funny place in this class''s ctor +# +# WxSugar.define_keyword_ctors(''SplashScreen'') do +# wx_ctor_params :bitmap => Wx::NULL_BITMAP +# wx_ctor_params :splashstyle, :milliseconds, :id => 1 +# wx_ctor_params :parent => nil +# wx_ctor_params :title => '''' +# wx_ctor_params :pos, :size +# wx_ctor_params :style => Wx::SIMPLE_BORDER|Wx::FRAME_NO_TASKBAR|Wx::STAY_ON...
2006 Dec 02
0
[770] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix some broken ones (Alex Spelling), add some new & missing ones; add
...43,14 @@ </span><span class="cx"> end </span><span class="cx"> end </span><span class="cx"> </span><ins>+# Window : base class for all widgets and frames +WxSugar.define_keyword_ctors(''Window'') do + wx_ctor_params :pos, :size, :style + wx_ctor_params :name => ''window'' +end + + </ins><span class="cx"> ### FRAMES </span><del>-# Normal frame </del><span class="cx"> </span><span class="cx"> # wxTopLevelWindow &...
2006 Nov 29
5
wxSugar control problem
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am coming up with an error when trying to create a SpinCtrl (and quite a few others have exactly the same prob.): #file date_picker.rb class DatePicker < Wx::Dialog def initialize super(nil, :title => "Pick a date...") @cal = Wx::CalendarCtrl.new(self) add(@cal) #works fine up to
2006 Nov 30
0
[764] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Correct duplicate and incorrect definition of SpinCtrl constructor
...23:50:49 UTC (rev 763) +++ trunk/wxsugar/lib/wx_sugar/keyword_classes.rb&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-11-30 00:08:57 UTC (rev 764) </span><span class="lines">@@ -318,20 +318,14 @@ </span><span class="cx"> # wx_ctor_params :validator, :name => ''treeCtrl'' </span><span class="cx"> end </span><span class="cx"> </span><del>-# wxScrollBar &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspScrollbar control -# wxSpinButton &...
2007 Sep 28
1
WxWizard Error
...l, Looks like there''s a few bugs with the controls dealing with Wx::Wizard. I''ve gone through it a bit, and seems like there''s some errors beyond what I could fix. An example is: # wxWizard A wizard dialog Wx::define_keyword_ctors(''Wizard'') do wx_ctor_params :title => '''' wx_ctor_params :bitmap => Wx::NULL_BITMAP wx_ctor_params :pos, :size wx_ctor_params :style => Wx::DEFAULT_DIALOG_STYLE end After looking at the SWIG Generated Code, it looks like it generates the Director to only have the params: :title => '...
2006 Dec 26
0
[805] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: NULL_BITMAP is now defined when wxruby2 is loaded, so dummy def not needed
...@defined_classes = {} </span><span class="cx"> </span><span class="lines">@@ -287,7 +280,7 @@ </span><span class="cx"> WxSugar.define_keyword_ctors(''CheckBox'') do </span><span class="cx"> wx_ctor_params :label => '''' </span><span class="cx"> wx_ctor_params :pos, :size, :style </span><del>- # wx_ctor_params :validator, :name => ''checkBox'' </del><ins>+ # wx_ctor_params :validator => Wx::DEFAULT_VALIDATOR,...
2007 Apr 26
0
[972] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix missing keyword param for Wx::Gauge
...47 UTC (rev 972) </span><span class="lines">@@ -322,7 +322,7 @@ </span><span class="cx"> # remaining </span><span class="cx"> WxSugar.define_keyword_ctors(''Gauge'') do </span><span class="cx"> wx_ctor_params :range, :pos, :size, :style => Wx::GA_HORIZONTAL </span><del>- wx_ctor_params :validator, :name </del><ins>+ wx_ctor_params :validator, :name => ''gauge'' </ins><span class="cx"> end </span><span class="cx"&gt...