rem: WMSetFilePanelCanChooseDirectories(WMFilePanel *panel, int flag)
add: WMSetFilePanelCanChooseDirectories(WMFilePanel *panel, Bool flag)
context: WMSetFilePanelCanChooseDirectories(WMFilePanel *panel, int flag){    panel->flags.canChooseDirectories = flag;}