Skip to content

Commit e268005

Browse files
committed
Update StaticDialog.cpp to not have _T (similar to what was done on plugintemplate)
1 parent 318dddd commit e268005

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DockingFeature/StaticDialog.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void StaticDialog::display(bool toShow, bool enhancedPositioningCheckWhenShowing
8080

8181
if ((testPositionRc.left != candidateRc.left) || (testPositionRc.top != candidateRc.top))
8282
{
83-
::MoveWindow(_hSelf, candidateRc.left, candidateRc.top,
83+
::MoveWindow(_hSelf, candidateRc.left, candidateRc.top,
8484
candidateRc.right - candidateRc.left, candidateRc.bottom - candidateRc.top, TRUE);
8585
}
8686
}
@@ -128,7 +128,7 @@ RECT StaticDialog::getViewablePositionRect(RECT testPositionRc) const
128128
// rect would be at least partially visible on a monitor
129129

130130
::GetMonitorInfo(hMon, &mi);
131-
131+
132132
int margin = ::GetSystemMetrics(SM_CYBORDER) + ::GetSystemMetrics(SM_CYSIZEFRAME) + ::GetSystemMetrics(SM_CYCAPTION);
133133

134134
// require that the title bar of the window be in a viewable place so the user can see it to grab it with the mouse
@@ -153,7 +153,7 @@ RECT StaticDialog::getViewablePositionRect(RECT testPositionRc) const
153153
if (!rectPosViewableWithoutChange)
154154
{
155155
// reposition rect so that it would be viewable on current/nearest monitor, centering if reasonable
156-
156+
157157
LONG testRectWidth = testPositionRc.right - testPositionRc.left;
158158
LONG testRectHeight = testPositionRc.bottom - testPositionRc.top;
159159
LONG monWidth = mi.rcWork.right - mi.rcWork.left;
@@ -204,7 +204,7 @@ HGLOBAL StaticDialog::makeRTLResource(int dialogID, DLGTEMPLATE **ppMyDlgTemplat
204204

205205
std::wstring GetLastErrorAsString(DWORD errorCode)
206206
{
207-
std::wstring errorMsg(_T(""));
207+
std::wstring errorMsg(L"");
208208
// Get the error message, if any.
209209
// If both error codes (passed error n GetLastError) are 0, then return empty
210210
if (errorCode == 0)

0 commit comments

Comments
 (0)