This patch includes changes to implement the SashWindow sample. Some notes: 1) You can''t resize the sash windows due to events not returning the correct objects 2) I included a patch for EvtHandler.i even though it doesn''t affect anything at all. I only realized after I made the change but since it was wrong before I figured it''s better to have the right one in the RCS even if we don''t use it. 3) Several event ''signatures'' were wrong in events.rb. I fixed those as well. 4) Changing events.rb won''t cause src/Event.cpp|h to reswig. I''m no rake guru so I didn''t take a stab at fixing it so be sure you delete those two files or you won''t get the latest changes. 5) I found some missing functions in wxSashWindow.h, so I added them. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Roy Sutton wrote:> This patch includes changes to implement the SashWindow sample. >Committed, thanks for this and all the recent patches. I would like to try and integrate Scintilla soon with a view to doing a build, if you''re able to please.> 1) You can''t resize the sash windows due to events not returning the > correct objectsHave entered it as a bug; it seems to affect other Event types. A workaround is: Wx::Window::find_window_by_id( event.get_id )> 4) Changing events.rb won''t cause src/Event.cpp|h to reswig.Fixed in SVN - dependency should work next time you do an update. alex