Nathan Osman
Nathan Osman

Reputation: 73305

How to customize the file selection dialogs in wxWidgets?

Is it possible to add additional controls to a file selection dialog? If not, what other ways are there to present load/save options to the user?

Upvotes: 1

Views: 534

Answers (1)

Lauri Nurmi
Lauri Nurmi

Reputation: 591

In wx 2.9 there is wxFileDialog::SetExtraControlCreator(), which allows adding additional controls at least on some platforms.

As some kind of a workaround in wx 2.8, one could use the wildcard/filter field and list the same file type multiple times with different description, for example "Plain text, short format", "Plain text, very verbose format".

Upvotes: 1

Related Questions