Displaying 2 results from an estimated 2 matches for "textctrlframe".
2007 Jul 21
0
[1139] trunk/wxruby2/samples/text/textctrl.rb: Place TextCtrl sample in a panel so gets correct bg color on MSW
...7-21 16:49:41 UTC (rev 1138)
+++ trunk/wxruby2/samples/text/textctrl.rb        2007-07-21 16:51:02 UTC (rev 1139)
</span><span class="lines">@@ -52,20 +52,22 @@
</span><span class="cx"> class TextCtrlFrame < Wx::Frame
</span><span class="cx">   def initialize(title, pos, size)
</span><span class="cx">     super(nil, -1, title, pos, size)
</span><ins>+
+    panel = Wx::Panel.new(self, -1)
</ins><span class="cx">     sizer...
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