Displaying 2 results from an estimated 2 matches for "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 specif...
2007 Mar 28
0
[924] branches/wxruby2/wxwidgets_282: Changes 2.6 -> 2.8 Wx API; remove deprecated methods and update doc
...ay is provided to the user to type the name of a new folder.|
+|@DD_CHANGE_DIR@|Change the current working directory to the directory chosen by the user.|
</ins><span class="cx">
</span><del>-|@DD_DEFAULT_STYLE@|Equivalent to a combination of DEFAULT_DIALOG_STYLE, DD_NEW_DIR_BUTTON and RESIZE_BORDER (the last one is not used under WinCE).|
-|@DD_NEW_DIR_BUTTON@|Add "Create newdirectory" button and allow directory names to be editable. OnWindows the new directory button is only available with recentversions of the common dialogs.|
</del><span class="cx...