Add filename to all other possible dialogs.
parent
1dba2acf1e
commit
c79d5a6fac
|
@ -88,6 +88,11 @@ void AudioOptsDialog::buildTestControls(PlotScalar **plotScalar, wxButton **btnT
|
|||
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
|
||||
AudioOptsDialog::AudioOptsDialog(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxDialog(parent, id, title, pos, size, style)
|
||||
{
|
||||
if (wxGetApp().customConfigFileName != "")
|
||||
{
|
||||
SetTitle(wxString::Format("%s (%s)", title, wxGetApp().customConfigFileName));
|
||||
}
|
||||
|
||||
if (g_verbose) fprintf(stderr, "pos %d %d\n", pos.x, pos.y);
|
||||
audioEngineInit();
|
||||
|
||||
|
|
|
@ -55,6 +55,11 @@ EasySetupDialog::EasySetupDialog(wxWindow* parent, wxWindowID id, const wxString
|
|||
, serialPortTestObject_(nullptr)
|
||||
, hasAppliedChanges_(false)
|
||||
{
|
||||
if (wxGetApp().customConfigFileName != "")
|
||||
{
|
||||
SetTitle(wxString::Format("%s (%s)", title, wxGetApp().customConfigFileName));
|
||||
}
|
||||
|
||||
// Create top-level of control hierarchy.
|
||||
wxPanel* panel = new wxPanel(this);
|
||||
wxBoxSizer* sectionSizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
|
|
@ -59,6 +59,11 @@ extern wxMutex g_mutexProtectingCallbackData;
|
|||
FilterDlg::FilterDlg(wxWindow* parent, bool running, bool *newMicInFilter, bool *newSpkOutFilter,
|
||||
wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxDialog(parent, id, title, pos, size, style)
|
||||
{
|
||||
if (wxGetApp().customConfigFileName != "")
|
||||
{
|
||||
SetTitle(wxString::Format("%s (%s)", title, wxGetApp().customConfigFileName));
|
||||
}
|
||||
|
||||
m_running = running;
|
||||
m_newMicInFilter = newMicInFilter;
|
||||
m_newSpkOutFilter = newSpkOutFilter;
|
||||
|
|
|
@ -44,6 +44,11 @@ extern wxConfigBase *pConfig;
|
|||
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
|
||||
OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxDialog(parent, id, title, pos, size, style)
|
||||
{
|
||||
if (wxGetApp().customConfigFileName != "")
|
||||
{
|
||||
SetTitle(wxString::Format("%s (%s)", title, wxGetApp().customConfigFileName));
|
||||
}
|
||||
|
||||
sessionActive_ = false;
|
||||
|
||||
wxPanel* panel = new wxPanel(this);
|
||||
|
|
|
@ -48,6 +48,11 @@ extern wxConfigBase *pConfig;
|
|||
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
|
||||
ComPortsDlg::ComPortsDlg(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxDialog(parent, id, title, pos, size, style)
|
||||
{
|
||||
if (wxGetApp().customConfigFileName != "")
|
||||
{
|
||||
SetTitle(wxString::Format("%s (%s)", title, wxGetApp().customConfigFileName));
|
||||
}
|
||||
|
||||
wxPanel* panel = new wxPanel(this);
|
||||
|
||||
wxBoxSizer* mainSizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
|
Loading…
Reference in New Issue