The file swig/classes/includes/wxLayoutConstraints.h may need to be updated. It''s missing centreX and centreY from the list of wxIndividualLayoutConstraints. I''d send a patch in but I''m wondering if this file just needs to be regenerated from scratch. Roy
Roy Sutton wrote:> The file swig/classes/includes/wxLayoutConstraints.h may need to be > updated. It''s missing centreX and centreY from the list of > wxIndividualLayoutConstraints. > > I''d send a patch in but I''m wondering if this file just needs to be > regenerated from scratch.I''ll accept either a diff patch, or a whole new copy that should replace the existing one if the current copy is crap. We don''t really have a way to regenerate it any more, and if we did it would probably produce identical results. These days, I either copy/paste out of the wx docs (ick) or out of the actual wx include .h files on my system (eek). Kevin
Attached is the new file. Easier than diffing. Kevin Smith wrote:> Roy Sutton wrote: > >> The file swig/classes/includes/wxLayoutConstraints.h may need to be >> updated. It''s missing centreX and centreY from the list of >> wxIndividualLayoutConstraints. >> >> I''d send a patch in but I''m wondering if this file just needs to be >> regenerated from scratch. > > > I''ll accept either a diff patch, or a whole new copy that should > replace the existing one if the current copy is crap. > > We don''t really have a way to regenerate it any more, and if we did it > would probably produce identical results. These days, I either > copy/paste out of the wx docs (ick) or out of the actual wx include .h > files on my system (eek). > > Kevin > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > >-------------- next part -------------- // wxLayoutConstraints.h // This file was automatically generated // by extractxml.rb, part of the wxRuby project // Do not make changes directly to this file! #if !defined(_wxLayoutConstraints_h_) #define _wxLayoutConstraints_h_ class wxLayoutConstraints : public wxObject { public: /** * \brief Constructor. */ wxLayoutConstraints() ; // the following were missing from the xml wxIndividualLayoutConstraint bottom,height,left,right,top,width,centreX,centreY; }; #endif
Roy Sutton wrote:> Attached is the new file. Easier than diffing.I applied the change manually, since I wanted to fix the formatting at the same time. The earlier code had multiple declarations on a single line, which I strongly dislike. Let me know if what I committed isn''t correct. Thanks, Kevin
Looks good to me Kevin Smith wrote:> Roy Sutton wrote: > >> Attached is the new file. Easier than diffing. > > > I applied the change manually, since I wanted to fix the formatting at > the same time. The earlier code had multiple declarations on a single > line, which I strongly dislike. > > Let me know if what I committed isn''t correct. > > Thanks, > > Kevin > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > >