Main: Make the wxLocale class member a unique_ptr

This commit is contained in:
Lioncash
2015-08-27 08:12:34 -04:00
parent 14ae1d23cf
commit 7fa0ecd046
2 changed files with 5 additions and 7 deletions

View File

@ -4,6 +4,7 @@
#pragma once
#include <memory>
#include <wx/app.h>
class CFrame;
@ -46,7 +47,7 @@ private:
wxString m_user_path;
wxString m_file_to_load;
wxString m_movie_file;
wxLocale* m_locale;
std::unique_ptr<wxLocale> m_locale;
};
DECLARE_APP(DolphinApp);