Implement hidden directory support in wxOSX too
Add support for wxDD_SHOW_HIDDEN style to wxDirDialog in wxOSX.
This commit is contained in:
committed by
Vadim Zeitlin
parent
b98660b996
commit
5e1cf4cdf2
@@ -73,6 +73,9 @@ WX_NSOpenPanel wxDirDialog::OSXCreatePanel() const
|
|||||||
if ( !HasFlag(wxDD_DIR_MUST_EXIST) )
|
if ( !HasFlag(wxDD_DIR_MUST_EXIST) )
|
||||||
[oPanel setCanCreateDirectories:YES];
|
[oPanel setCanCreateDirectories:YES];
|
||||||
|
|
||||||
|
if ( HasFlag(wxDD_SHOW_HIDDEN) )
|
||||||
|
[oPanel setShowsHiddenFiles:YES];
|
||||||
|
|
||||||
// Set the directory to use
|
// Set the directory to use
|
||||||
if ( !m_path.IsEmpty() )
|
if ( !m_path.IsEmpty() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user