DolphinWX/Main: Fix shader compilation dialog translations

Fixes issue 10685
This commit is contained in:
Lioncash 2017-12-04 04:26:51 -05:00
parent 30b5cbcb02
commit ed2be3b8e3
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ void Host_YieldToUI()
void Host_UpdateProgressDialog(const char* caption, int position, int total) void Host_UpdateProgressDialog(const char* caption, int position, int total)
{ {
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATE_PROGRESS_DIALOG); wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATE_PROGRESS_DIALOG);
event.SetString(caption); event.SetString(StrToWxStr(caption));
event.SetInt(position); event.SetInt(position);
event.SetExtraLong(total); event.SetExtraLong(total);
main_frame->GetEventHandler()->AddPendingEvent(event); main_frame->GetEventHandler()->AddPendingEvent(event);