Skip to content

Commit

Permalink
Translate download dialog text
Browse files Browse the repository at this point in the history
  • Loading branch information
malensek committed Sep 18, 2015
1 parent d7152b2 commit 3d9af3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Settings/Controls/Dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "Dialog.h"

#include "../../3RVX/Logger.h"
#include "../UITranslator.h"
#include "Control.h"

Dialog::Dialog(LPCWSTR className, LPCWSTR dlgTemplate) :
Expand All @@ -14,6 +15,8 @@ Window(className) {
Window::Handle(),
StaticDialogProc,
(LPARAM) this);

UITranslator::TranslateWindowText(_dlgHwnd);
}

void Dialog::AddControl(Control *control) {
Expand Down

0 comments on commit 3d9af3b

Please sign in to comment.