9#ifndef __AUDACITY_WXPANEL_WRAPPER__
10#define __AUDACITY_WXPANEL_WRAPPER__
21template <
typename Base>
25 template <
typename... Args>
47 wxWindowID winid = wxID_ANY,
48 const wxPoint& pos = wxDefaultPosition,
49 const wxSize&
size = wxDefaultSize,
50 long style = wxTAB_TRAVERSAL | wxNO_BORDER,
60 wxWindowID winid = wxID_ANY,
61 const wxPoint& pos = wxDefaultPosition,
62 const wxSize&
size = wxDefaultSize,
63 long style = wxTAB_TRAVERSAL | wxNO_BORDER,
87 wxWindow *parent, wxWindowID
id,
89 const wxPoint& pos = wxDefaultPosition,
90 const wxSize&
size = wxDefaultSize,
91 long style = wxDEFAULT_DIALOG_STYLE,
100 wxWindow *parent, wxWindowID
id,
102 const wxPoint& pos = wxDefaultPosition,
103 const wxSize&
size = wxDefaultSize,
104 long style = wxDEFAULT_DIALOG_STYLE,
121#include <wx/dirdlg.h>
133 const wxString& defaultPath = {},
134 long style = wxDD_DEFAULT_STYLE,
135 const wxPoint& pos = wxDefaultPosition,
136 const wxSize&
size = wxDefaultSize,
140 parent, message.Translation(), defaultPath,
style, pos,
size,
148 const wxString& defaultPath = {},
149 long style = wxDD_DEFAULT_STYLE,
150 const wxPoint& pos = wxDefaultPosition,
151 const wxSize&
size = wxDefaultSize,
156 parent, message.Translation(), defaultPath,
style, pos,
size,
157 name.Translation() );
177 long style = wxFD_DEFAULT_STYLE,
178 const wxPoint& pos = wxDefaultPosition,
179 const wxSize& sz = wxDefaultSize,
183 parent, message.Translation(), defaultDir, defaultFile,
195 long style = wxFD_DEFAULT_STYLE,
196 const wxPoint& pos = wxDefaultPosition,
197 const wxSize& sz = wxDefaultSize,
202 parent, message.
Translation(), defaultDir, defaultFile,
209#include <wx/msgdlg.h>
223 long style = wxOK|wxCENTRE,
224 const wxPoint& pos = wxDefaultPosition)
226 ( parent, message.Translation(), caption.Translation(),
style, pos )
Wrap wxMessageDialog so that caption IS translatable.
AudacityMessageDialog(wxWindow *parent, const TranslatableString &message, const TranslatableString &caption, long style=wxOK|wxCENTRE, const wxPoint &pos=wxDefaultPosition)
Dialog used to present platform specific "Save As" dialog with custom controls.
void Create(wxWindow *parent, const TranslatableString &message, const FilePath &defaultDir, const FilePath &defaultFile, const FileNames::FileTypes &fileTypes, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const TranslatableString &name=XO("File Dialog"))
FileDialogWrapper(wxWindow *parent, const TranslatableString &message, const FilePath &defaultDir, const FilePath &defaultFile, const FileNames::FileTypes &fileTypes, long style=wxFD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, const TranslatableString &name=XO("File Dialog"))
std::vector< FileType > FileTypes
Holds a msgid for the translation catalog; may also bind format arguments.
wxString Translation() const
wxDialogWrapper(wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog"))
bool Create(wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog"))
wxDirDialogWrapper(wxWindow *parent, const TranslatableString &message=DefaultDialogPrompt, const wxString &defaultPath={}, long style=wxDD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, const TranslatableString &name=XO("Directory Dialog"))
static const TranslatableString DefaultDialogPrompt
void Create(wxWindow *parent, const TranslatableString &message=XO("Select a directory"), const wxString &defaultPath={}, long style=wxDD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, const TranslatableString &name=XO("Directory Dialog"))
wxPanelWrapper(wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel"))
bool Create(wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel"))
wxTabTraversalWrapper & operator=(wxTabTraversalWrapper &&)=delete
wxTabTraversalWrapper(wxTabTraversalWrapper &&)=delete
wxTabTraversalWrapper(Args &&... args)
wxTabTraversalWrapper(const wxTabTraversalWrapper &)=delete
wxTabTraversalWrapper & operator=(const wxTabTraversalWrapper &)=delete
FILES_API wxString FormatWildcard(const FileTypes &fileTypes)
WX_WRAPPERS_API void wxTabTraversalWrapperCharHook(wxKeyEvent &event)