mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 16:50:26 +02:00
Append filename at 'Import Raw Data' window title
This commit is contained in:
parent
f83f65cadc
commit
6a4f1cfe7a
@ -46,6 +46,7 @@ and sample size to help you importing data of an unknown format.
|
|||||||
#include <wx/button.h>
|
#include <wx/button.h>
|
||||||
#include <wx/choice.h>
|
#include <wx/choice.h>
|
||||||
#include <wx/combobox.h>
|
#include <wx/combobox.h>
|
||||||
|
#include <wx/filename.h>
|
||||||
#include <wx/intl.h>
|
#include <wx/intl.h>
|
||||||
#include <wx/panel.h>
|
#include <wx/panel.h>
|
||||||
#include <wx/sizer.h>
|
#include <wx/sizer.h>
|
||||||
@ -296,6 +297,10 @@ ImportRawDialog::ImportRawDialog(wxWindow * parent, const wxString & fileName)
|
|||||||
|
|
||||||
SetName();
|
SetName();
|
||||||
|
|
||||||
|
// Append filename at window title
|
||||||
|
wxFileName wfn{ fileName };
|
||||||
|
wxDialog::SetTitle(GetTitle() + ": " + wfn.GetFullName());
|
||||||
|
|
||||||
ShuttleGui S(this, eIsCreating);
|
ShuttleGui S(this, eIsCreating);
|
||||||
TranslatableStrings encodings;
|
TranslatableStrings encodings;
|
||||||
int num;
|
int num;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user