mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 04:11:37 -06:00
4.30 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
bcd1db2f5a
commit
e18587ba51
@@ -27,10 +27,10 @@ CProgressDialog::~CProgressDialog()
|
||||
{
|
||||
AddToTitle(TEXT(""));
|
||||
}
|
||||
void CProgressDialog::AddToTitle(LPCTSTR s)
|
||||
void CProgressDialog::AddToTitle(LPCWSTR s)
|
||||
{
|
||||
if (MainWindow != 0)
|
||||
::SetWindowText(MainWindow, s + UString(MainTitle));
|
||||
::MySetWindowText(MainWindow, UString(s) + MainTitle);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ private:
|
||||
virtual void OnCancel();
|
||||
NWindows::NSynchronization::CManualResetEvent _dialogCreatedEvent;
|
||||
#ifndef _SFX
|
||||
void AddToTitle(LPCTSTR string);
|
||||
void AddToTitle(LPCWSTR string);
|
||||
#endif
|
||||
bool OnButtonClicked(int buttonID, HWND buttonHWND);
|
||||
public:
|
||||
@@ -110,10 +110,10 @@ public:
|
||||
void WaitCreating() { _dialogCreatedEvent.Lock(); }
|
||||
|
||||
|
||||
INT_PTR Create(const UString &title, HWND aWndParent = 0)
|
||||
INT_PTR Create(const UString &title, HWND wndParent = 0)
|
||||
{
|
||||
_title = title;
|
||||
return CModalDialog::Create(MAKEINTRESOURCE(IDD_DIALOG_PROGRESS), aWndParent);
|
||||
return CModalDialog::Create(IDD_DIALOG_PROGRESS, wndParent);
|
||||
}
|
||||
|
||||
static const UINT kCloseMessage;
|
||||
|
||||
Reference in New Issue
Block a user