Audacity
3.2.0
libraries
lib-wx-init
AudacityMessageBox.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
AudacityMessageBox.h
6
7
Paul Licameli split this out of ErrorDialog.h
8
9
**********************************************************************/
10
11
#ifndef __AUDACITY_MESSAGE_BOX__
12
#define __AUDACITY_MESSAGE_BOX__
13
14
#include <wx/msgdlg.h>
15
#include "
Internat.h
"
16
17
extern
WX_INIT_API
TranslatableString
AudacityMessageBoxCaptionStr
();
18
19
// Do not use wxMessageBox!! Its default window title does not translate!
20
WX_INIT_API
int
AudacityMessageBox
(
const
TranslatableString
& message,
21
const
TranslatableString
& caption =
XO
(
"Message"
),
22
long
style
= wxOK | wxCENTRE,
23
wxWindow *parent = NULL,
24
int
x = wxDefaultCoord,
int
y = wxDefaultCoord);
25
26
#endif
AudacityMessageBoxCaptionStr
WX_INIT_API TranslatableString AudacityMessageBoxCaptionStr()
AudacityMessageBox
WX_INIT_API int AudacityMessageBox(const TranslatableString &message, const TranslatableString &caption=XO("Message"), long style=wxOK|wxCENTRE, wxWindow *parent=NULL, int x=wxDefaultCoord, int y=wxDefaultCoord)
Definition:
AudacityMessageBox.cpp:17
XO
XO("Cut/Copy/Paste")
Internat.h
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition:
TranslatableString.h:32
anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style
constexpr auto style
Definition:
AudacityDontAskAgainMessageDialog.cpp:19
Generated by
1.9.3