1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-18 16:41:14 +02:00

Round 7 of wx3 changes

I believe the FileDialog is now complete and consistent across
all 3 platforms.
This commit is contained in:
Leland Lucius
2015-07-16 01:12:09 -05:00
parent 553308fc29
commit 805f0e29d1
9 changed files with 150 additions and 79 deletions

View File

@@ -1,19 +1,18 @@
//
// Copied from wx 3.0.2 and modified to support additional features
//
/////////////////////////////////////////////////////////////////////////////
// Name: wx/osx/filedlg.h
// Purpose: wxFileDialog class
// Author: Stefan Csomor
// Modified by:
// Modified by: Leland Lucius
// Created: 1998-01-01
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _FILEDIALOG_H_
#define _FILEDIALOG_H_
#ifndef _MAC_FILEDIALOG_H_
#define _MAC_FILEDIALOG_H_
#include <wx/choice.h>
@@ -71,8 +70,10 @@ public:
// implementation only
#if wxOSX_USE_COCOA
void DoViewResized(void* object);
void DoSendFolderChangedEvent(void* panel, const wxString& path);
void DoSendSelectionChangedEvent(void* panel);
wxString DoCaptureFilename(void* panel, const wxString& name);
#endif
protected:
@@ -96,6 +97,7 @@ protected:
wxArrayString m_currentExtensions;
WX_NSObject m_delegate;
WX_NSObject m_sheetDelegate;
wxString m_noOverwritePromptFilename;
#endif
private:
@@ -103,4 +105,4 @@ private:
void Init();
};
#endif // _FILEDIALOG_H_
#endif