Abstract class for MsgDialog interface

This commit is contained in:
Nekotekina 2015-04-15 21:33:44 +03:00
parent cfb41c4dab
commit 00205bfa58
8 changed files with 227 additions and 237 deletions

View file

@ -43,6 +43,8 @@ Rpcs3App* TheApp;
std::string simplify_path(const std::string& path, bool is_dir);
extern std::unique_ptr<MsgDialogInstance> g_msg_dialog;
bool Rpcs3App::OnInit()
{
static const wxCmdLineEntryDesc desc[]
@ -134,7 +136,7 @@ bool Rpcs3App::OnInit()
return new GLGSFrame();
});
SetMsgDialogCallbacks(MsgDialogCreate, MsgDialogDestroy, MsgDialogProgressBarSetMsg, MsgDialogProgressBarReset, MsgDialogProgressBarInc);
g_msg_dialog.reset(new MsgDialogFrame);
TheApp = this;
SetAppName(_PRGNAME_);