search for: informativetextctrl

Displaying 2 results from an estimated 2 matches for "informativetextctrl".

2007 Jul 21
0
[1139] trunk/wxruby2/samples/text/textctrl.rb: Place TextCtrl sample in a panel so gets correct bg color on MSW
...ss="cx"> super(nil, -1, title, pos, size) </span><ins>+ + panel = Wx::Panel.new(self, -1) </ins><span class="cx"> sizer = Wx::BoxSizer.new(Wx::VERTICAL) </span><span class="cx"> </span><del>- @textctrl = InformativeTextCtrl.new(self, '''') </del><ins>+ @textctrl = InformativeTextCtrl.new(panel, '''') </ins><span class="cx"> populate_textctrl() </span><span class="cx"> sizer.add(@textctrl, 2, Wx::GROW|Wx::ALL, 2) </spa...
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy