Displaying 2 results from an estimated 2 matches for "populate_textctrl".
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
2007 Jul 21
0
[1139] trunk/wxruby2/samples/text/textctrl.rb: Place TextCtrl sample in a panel so gets correct bg color on MSW
...w(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)
</span><span class="cx">
</span><del>- button = Wx::Button.new(self, -1, ''Get Info'')
</del><ins>+ button = Wx::Button.new(panel, -...