Change wxFD_MULTIPLE value to avoid conflict with wxDIALOG_NO_PARENT.

This avoids GTK+ warnings about creating a dialog without parent when a
wxFileDialog with wxFD_MULTIPLE style is created.

Closes #16863.
This commit is contained in:
Vadim Zeitlin
2015-03-02 14:32:53 +01:00
parent 3bec79d71c
commit b7388f36f2
3 changed files with 6 additions and 4 deletions

View File

@@ -12,9 +12,9 @@ enum
wxFD_OVERWRITE_PROMPT = 0x0004,
wxFD_NO_FOLLOW = 0x0008,
wxFD_FILE_MUST_EXIST = 0x0010,
wxFD_MULTIPLE = 0x0020,
wxFD_CHANGE_DIR = 0x0080,
wxFD_PREVIEW = 0x0100
wxFD_PREVIEW = 0x0100,
wxFD_MULTIPLE = 0x0200
};
#define wxFD_DEFAULT_STYLE wxFD_OPEN