[wxruby-users] wxruby, XRC, DialogBlock

Joshua Lefkowitz lists at ruby-forum.com
Thu Mar 6 17:22:46 EST 2008


>>  require 'wx'
>>  # load in the generated code
>>  require 'my_frame'
>>
>>  # Mix-in for a Wx::TextCtrl
>>  module CaseChangeTextCtrl?
> 
> Ah, sorry, looks like the wiki has mangled some of the ruby code by
> adding ? - there shouldn't be one here. I've corrected the formatting on
> the wiki, can you try to copy and paste again please?
> 
> thanks
> alex

I gave it another shot and it still wasn't working.  So, I tried 
removing all of the '?' characters from the ruby source code.  This 
worked, but I don't see any buttons.  My question is, the wiki page 
shows '?' characters for working in the DialogBlock and for the ruby 
source.  Perhaps just clarifying where a '?' does and doesn't belong 
will fix everything.

Still, for a really green programmer, just getting it to work at all was 
very satisfying.  If I complete this project, I hope to have something 
to give back to the open source community.

Thanks!
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list