Add wxFD_NO_FOLLOW style for wxFileDialog.
This style tells the dialog to return the paths of the link being selected without dereferencing it. Currently only implemented under wxMSW as the links are not dereferenced by default in wxGTK anyhow. But we may want to change this and implement it there too for consistency in the future. Closes #15429. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1444,7 +1444,7 @@ void MyFrame::FileOpen2(wxCommandEvent& WXUNUSED(event) )
|
||||
wxFileSelectorDefaultWildcardStr,
|
||||
wxFileSelectorDefaultWildcardStr
|
||||
),
|
||||
wxFD_OPEN|wxFD_CHANGE_DIR|wxFD_PREVIEW,
|
||||
wxFD_OPEN|wxFD_CHANGE_DIR|wxFD_PREVIEW|wxFD_NO_FOLLOW,
|
||||
this
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user