X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0f01cb25c45ecad510cb092872b48ffc4652de5..d6d29abb44ccfabdd071741a8a4623ea02f470b8:/interface/wx/textentry.h?ds=sidebyside diff --git a/interface/wx/textentry.h b/interface/wx/textentry.h index a2c7b7f8b6..b1b6a5d5cf 100644 --- a/interface/wx/textentry.h +++ b/interface/wx/textentry.h @@ -112,6 +112,27 @@ public: */ bool AutoCompleteFileNames(); + /** + Call this function to enable auto-completion of the text using the file + system directories. + + Unlike AutoCompleteFileNames() which completes both file names and + directories, this function only completes the directory names. + + Notice that currently this function is only implemented in wxMSW port + and does nothing under the other platforms. + + @since 2.9.3 + + @return + @true if the auto-completion was enabled or @false if the operation + failed, typically because auto-completion is not supported by the + current platform. + + @see AutoComplete() + */ + bool AutoCompleteDirectories(); + /** Returns @true if the selection can be copied to the clipboard. */