Search code examples
c++wxwidgets

wxWidgets: control or dialog to chose directory path


What is the way to choose a directory path (by browsing) with wxWidgets and save it as a string?


Solution

  • In wxWidgets land, they call the dialog box a file chooser:
    wxFileDialog

    There are also examples of how to customize it.