]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/props.cpp
Add a property to configure file property dialog kind.
[wxWidgets.git] / src / propgrid / props.cpp
index bde3b65460da67bc8e6dbd1f29a40501029ad7b1..8bb315c708c38c6051083cae8218e5d9d8726eaf 100644 (file)
@@ -1704,7 +1704,7 @@ bool wxPGFileDialogAdapter::DoShowDialog( wxPropertyGrid* propGrid, wxPGProperty
                       property->GetAttribute(wxS("InitialPath"), path),
                       wxEmptyString,
                       property->GetAttribute(wxPG_FILE_WILDCARD, wxALL_FILES),
-                      0,
+                      property->GetAttributeAsLong(wxPG_FILE_DIALOG_STYLE, 0),
                       wxDefaultPosition );
 
     if ( indFilter >= 0 )