Merge pull request #2624 from DietmarSchwertberger/ISS1944_DD_MULTIPLE

add Python implementation of GetPaths (fix issue #1944)
This commit is contained in:
Scott Talbert
2024-10-14 20:32:13 -04:00
committed by GitHub

View File

@@ -39,6 +39,16 @@ def run():
module.find('wxDirSelectorPromptStr').ignore()
c.find('GetPaths').ignore()
c.addCppMethod('wxArrayString*', 'GetPaths', '()', pyArgsString="() -> list",
doc='Returns a list of the currently selected paths.',
body="""\
wxArrayString* paths = new wxArrayString;
self->GetPaths(*paths);
return paths;
"""
)
c = module.find('wxDirSelector')
c.mustHaveApp()