This patch file adds a missing parameter to the sample source so the dialog sample will work. Also attached is a patch to add an additional optional parameter to wxStaticLine.h. I was going through header files to confirm the other problem and discovered there''s another optional parameter. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Roy Sutton wrote:> This patch file adds a missing parameter to the sample source so the > dialog sample will work.This one also didn''t apply cleanly. Must be something about the bigdemo directory. I''ll try deleting my copy and pulling from CVS in case it''s just local corruption. The line number appeared to be off by two. Maybe.> Also attached is a patch to add an additional > optional parameter to wxStaticLine.h. I was going through header files > to confirm the other problem and discovered there''s another optional > parameter.Cool. Thanks, Kevin
> > This one also didn''t apply cleanly. Must be something about the bigdemo > directory. I''ll try deleting my copy and pulling from CVS in case it''s >Maybe because some (all?) files in the bigdemo dir have mixed line-endings. I saw a lot of ^M characters in them when looking with vim. They should be converted to use line endings like the rest of the wxruby files - just ''\n'' I suppose. Jani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20050905/164b8e64/attachment-0001.htm
Jani Monoses wrote:>>This one also didn''t apply cleanly. Must be something about the bigdemo >>directory. I''ll try deleting my copy and pulling from CVS in case it''s >> > > > Maybe because some (all?) files in the bigdemo dir have mixed line-endings. > I saw a lot of ^M characters in them when looking with vim. They should be > converted to use line endings like the rest of the wxruby files - just ''\n'' > I suppose.Ah! The files were created on MS Windows, but checked into CVS on my Linux machine. So they probably actually have CR''s in addition to the LF''s. When anothe MS Windows user checks them out, they end up with double-newlines, which is why the line numbers of the diffs don''t match. I deleted them and re-checked them out, but now I see that won''t help because they actually have CR''s in the CVS tree. I think that all makes sense. I just now ran dos2unix on all the bigdemo files, and checked them in. Hopefully that will fix it. Thanks! Kevin