Audacity 3.2.0
Public Member Functions | List of all members
SuccessDialog Class Referencefinal

#include <ExportMultiple.h>

Inheritance diagram for SuccessDialog:
[legend]
Collaboration diagram for SuccessDialog:
[legend]

Public Member Functions

 SuccessDialog (wxWindow *parent, wxWindowID id, const TranslatableString &title)
 
void OnKeyDown (wxListEvent &event)
 
void OnItemActivated (wxListEvent &event)
 
- Public Member Functions inherited from wxDialogWrapper
 wxDialogWrapper ()
 
 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"))
 
void SetTitle (const TranslatableString &title)
 
void SetLabel (const TranslatableString &title)
 
void SetName (const TranslatableString &title)
 
void SetName ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< wxDialog >
 wxTabTraversalWrapper (Args &&... args)
 
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Detailed Description

Definition at line 170 of file ExportMultiple.h.

Constructor & Destructor Documentation

◆ SuccessDialog()

SuccessDialog::SuccessDialog ( wxWindow *  parent,
wxWindowID  id,
const TranslatableString title 
)
inline

Definition at line 173 of file ExportMultiple.h.

173 :
174 wxDialogWrapper(parent, id, title, wxDefaultPosition,
175 wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER) {};
static const auto title

Member Function Documentation

◆ OnItemActivated()

void SuccessDialog::OnItemActivated ( wxListEvent &  event)

Definition at line 1200 of file ExportMultiple.cpp.

1201{
1202 EndModal(1);
1203}

◆ OnKeyDown()

void SuccessDialog::OnKeyDown ( wxListEvent &  event)

Definition at line 1192 of file ExportMultiple.cpp.

1193{
1194 if (event.GetKeyCode() == WXK_RETURN)
1195 EndModal(1);
1196 else
1197 event.Skip(); // allow standard behaviour
1198}

The documentation for this class was generated from the following files: