I feel like I''ve mostly been banging my head against header file issues for the last couple weeks. I don''t feel like I''ve gotten any actual ''work'' done on fixing wrapping problems, adding new classes or improving the samples. I''m searching for any but haven''t found ''em. Some things I''ve noticed: 1) Some controls look a lot better in the wxPython examples. Maybe we''re not setting the correct window style flags? I vaguely recall someone posting about setting some flag for Windows that caused it to use the XP look. 2) the tip of the day opens in the wrong place now. 3) ''random'' crashes 4) Layout problems. Controls that are supposed to be near each other have wide gaps. e.g. the TextCtrl example, compare wxPython and wxRuby. There are probably some others as well. Roy
Roy Sutton wrote:> I feel like I''ve mostly been banging my head against header file issues > for the last couple weeks.I think it''s the most frustrating bit of wxruby2 development and for me I really appreciate the time you put in on it. My own progress with the difficult classes is inchingly slow or non-existent. But even if one step forward is one step back, at least we learn something from it, and all the SWIG bugs you''ve turned up will hopefully have fed into fixes in 1.3.30. Some things I''ve noticed:> 1) Some controls look a lot better in the wxPython examples. Maybe > we''re not setting the correct window style flags? I vaguely recall > someone posting about setting some flag for Windows that caused it to > use the XP look. >You add a manifest file to your ruby.exe: http://rubyforge.org/pipermail/wxruby-users/2006-April/002003.html> 4) Layout problems. Controls that are supposed to be near each other > have wide gaps. e.g. the TextCtrl example, compare wxPython and wxRuby. >I never really warmed to python, but it sounds like it is worth trying out wxPython at some stage to compare - assuming you are looking at bigdemo? alex
>> 1) Some controls look a lot better in the wxPython examples. Maybe >> we''re not setting the correct window style flags? I vaguely recall >> someone posting about setting some flag for Windows that caused it to >> use the XP look. >> >> > You add a manifest file to your ruby.exe: > > http://rubyforge.org/pipermail/wxruby-users/2006-April/002003.html >I think we should put this in the README file. Or include it as a file in an extras directory.>> 4) Layout problems. Controls that are supposed to be near each other >> have wide gaps. e.g. the TextCtrl example, compare wxPython and wxRuby. >> >> > I never really warmed to python, but it sounds like it is worth trying > out wxPython at some stage to compare - assuming you are looking at bigdemo? > >Yes. Bigdemo is their main demo application. They have about 4x the number of samples. I forgot to add that I would like to compile in wxScintilla when we do a Beta release. I don''t -think- we need it for Alpha, but I''d be happy to build it into the Windows version. Roy
> I think we should put this in the README file. Or include it as a file > in an extras directory. >Good idea. Will do.> I forgot to add that I would like to compile in wxScintilla when we do a > Beta release. I don''t -think- we need it for Alpha, but I''d be happy to > build it into the Windows version.I think Scintilla is an important widget. For now any windows binary would be good and maybe best to have them similar across platforms. If you have a wrapper for Scintilla I''d be happy to try it on OS X with a view to getting it checked in for beta. thanks alex
I forgot to mention I have a gem for Windows. I''ll upload it somewhere so you can grab it if you want. Alex Fenton wrote:> I think Scintilla is an important widget. For now any windows binary > would be good and maybe best to have them similar across platforms. If > you have a wrapper for Scintilla I''d be happy to try it on OS X with a > view to getting it checked in for beta. > >Let me check to be sure it''s still working with the latest build and snag the latest header file off the development site. Roy
Roy Sutton wrote:> 1) Some controls look a lot better in the wxPython examples. Maybe > we''re not setting the correct window style flags? I vaguely recall > someone posting about setting some flag for Windows that caused it to > use the XP look. >Fixed with the ruby.exe.manifest file. Although with the manifest I am getting some background color problems with StaticText controls, which I think I may be able to fix.> 4) Layout problems. Controls that are supposed to be near each other > have wide gaps. e.g. the TextCtrl example, compare wxPython and wxRuby. >Fixed with -something- I just did. I think it was commenting out a virtual function in Windows.h. I will make a patch and compare.