Audacity  3.0.3
Classes | Functions
LangChoice.cpp File Reference
#include "LangChoice.h"
#include <wx/defs.h>
#include <wx/button.h>
#include <wx/choice.h>
#include <wx/intl.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include "Languages.h"
#include "ShuttleGui.h"
#include "widgets/AudacityMessageBox.h"
#include "widgets/wxPanelWrapper.h"
Include dependency graph for LangChoice.cpp:

Go to the source code of this file.

Classes

class  LangChoiceDialog
 A dialog used (at start up) to present the user with a choice of languages for Audacity. More...
 

Functions

wxString ChooseLanguage (wxWindow *parent)
 

Function Documentation

◆ ChooseLanguage()

wxString ChooseLanguage ( wxWindow *  parent)

Definition at line 54 of file LangChoice.cpp.

55 {
56  wxString returnVal;
57 
58  /* i18n-hint: Title on a dialog indicating that this is the first
59  * time Audacity has been run. */
60  LangChoiceDialog dlog(parent, -1, XO("Audacity First Run"));
61  dlog.CentreOnParent();
62  dlog.ShowModal();
63  returnVal = dlog.GetLang();
64 
65  return returnVal;
66 }

References LangChoiceDialog::GetLang(), and XO.

Here is the call graph for this function:
XO
#define XO(s)
Definition: Internat.h:31
LangChoiceDialog
A dialog used (at start up) to present the user with a choice of languages for Audacity.
Definition: LangChoice.cpp:33