Displaying 2 results from an estimated 2 matches for "wxdd_new_dir_button".
Did you mean:
dd_new_dir_button
2004 Jun 29
0
Missing constants (wxRuby 0.4)
When trying to use the DirDialog class to get a directory chooser with a
"new" button, the docs say to use window style DD_NEW_DIR_BUTTON.
However wxRuby seems to be missing this constant.
A grep of the wxWidgets sources gave:
#define wxDD_NEW_DIR_BUTTON 0x0080
So I changed:
Wx::DirDialog.new(self, "Please specify output directory", outdir,
Wx::DD_NEW_DIR_BUTTON)
to:
Wx::DirDialog.new(self, "Please specify output directory", outdir,
0x0080)
Which worked beautifully :-)
Moral: Missing constants don''t imply mis...
2005 May 03
10
Is wxRuby-SWIG version usable enough to package for download?
If wxRuby-SWIG is as usable as wxRuby 0.6.0, maybe it should be given a
version number and packaged up for download.
Given the nature of SWIG, having a lot more people use it would probably
result in more code contributions to this project.
Seems most of the changes are 2+ months old, so I''m guessing wxRuby-SWIG
is fairly stable right now in terms of frequency of changes...