mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-26 17:18:41 +02:00
We can't go to 3.0.1 yet as there are still build issues on Linux and OSX. You can get Windows to build, but there's still some display issues. These changes should work with wxWidgets 2.8.12 as well, so we can take our time to get things working properly before switching over.
59 lines
1.8 KiB
C
59 lines
1.8 KiB
C
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
FileDialog.h
|
|
|
|
Leland Lucius
|
|
|
|
*******************************************************************//**
|
|
|
|
\class FileDialog
|
|
\brief Dialog used to present platform specific "Save As" dialog with
|
|
custom controls.
|
|
|
|
*//*******************************************************************/
|
|
|
|
#ifndef _FILE_DIALOG_H_
|
|
#define _FILE_DIALOG_H_
|
|
|
|
#include "wx/defs.h"
|
|
#include "wx/filedlg.h"
|
|
|
|
typedef void (*fdCallback)(void *, int);
|
|
|
|
#include "FileDialogPrivate.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: filedlg.h
|
|
// Purpose: wxFileDialog base header
|
|
// Author: Robert Roebling
|
|
// Modified by: Leland Lucius
|
|
// Created: 8/17/99
|
|
// Copyright: (c) Robert Roebling
|
|
// RCS-ID: $Id: FileDialog.h,v 1.9 2008-05-24 02:57:39 llucius Exp $
|
|
// Licence: wxWindows licence
|
|
//
|
|
// Modified for Audacity to support an additional button on Save dialogs
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//----------------------------------------------------------------------------
|
|
// wxFileDialog convenience functions
|
|
//----------------------------------------------------------------------------
|
|
|
|
wxString
|
|
FileSelector(const wxString & message = wxFileSelectorPromptStr,
|
|
const wxString & default_path = wxEmptyString,
|
|
const wxString & default_filename = wxEmptyString,
|
|
const wxString & default_extension = wxEmptyString,
|
|
const wxString & wildcard = wxFileSelectorDefaultWildcardStr,
|
|
int flags = 0,
|
|
wxWindow *parent = NULL,
|
|
wxString label = wxEmptyString,
|
|
fdCallback cb = NULL,
|
|
void *cbdata = NULL);
|
|
|
|
#endif
|
|
|