From bebd135b7dd4856e420a95645853b0e144e3500b Mon Sep 17 00:00:00 2001 From: hrydgard Date: Sun, 30 Nov 2008 14:22:47 +0000 Subject: [PATCH] Show iso filename in title of properties window git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1342 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/ISOProperties.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/ISOProperties.cpp b/Source/Core/DolphinWX/Src/ISOProperties.cpp index fa1c986b6e..2071e441bc 100644 --- a/Source/Core/DolphinWX/Src/ISOProperties.cpp +++ b/Source/Core/DolphinWX/Src/ISOProperties.cpp @@ -34,6 +34,7 @@ struct ARListCode { std::vector ops; u32 uiIndex; }; + std::vector ARCodes; BEGIN_EVENT_TABLE(CISOProperties, wxDialog) @@ -129,7 +130,9 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW CreateDirectoryTree(RootId, beginning, end, pos, (char *)"\\"); m_Treectrl->Expand(RootId); - SetTitle(wxString::Format(_("Properties: %s - %s"), OpenISO_.GetUniqueID().c_str(), OpenISO_.GetName().c_str())); + std::string filename, extension; + SplitPath(fileName, 0, &filename, &extension); + SetTitle(wxString::Format(_("%s%s: %s - %s"), filename.c_str(), extension.c_str(), OpenISO_.GetUniqueID().c_str(), OpenISO_.GetName().c_str())); } CISOProperties::~CISOProperties()