Audacity  3.0.3
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) {};

Member Function Documentation

◆ OnItemActivated()

void SuccessDialog::OnItemActivated ( wxListEvent &  event)

Definition at line 1198 of file ExportMultiple.cpp.

1199 {
1200  EndModal(1);
1201 }

◆ OnKeyDown()

void SuccessDialog::OnKeyDown ( wxListEvent &  event)

Definition at line 1190 of file ExportMultiple.cpp.

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

The documentation for this class was generated from the following files:
title
static const auto title
Definition: NoUpdatesAvailableDialog.cpp:22
wxDialogWrapper::wxDialogWrapper
wxDialogWrapper()
Definition: wxPanelWrapper.h:84