The Window which has the focus is now marked with "(*)" in traces

This commit is contained in:
Bertrand Songis
2020-08-17 12:21:07 +02:00
parent 528ef68a1d
commit 286bf5fdb2
+1 -1
View File
@@ -244,7 +244,7 @@ void Window::fullPaint(BitmapBuffer * dc)
}
if (paintNeeded) {
TRACE_WINDOWS_INDENT("%s", getWindowDebugString().c_str());
TRACE_WINDOWS_INDENT("%s%s", getWindowDebugString().c_str(), hasFocus() ? " (*)" : "");
paint(dc);
#if defined(WINDOWS_INSPECT_BORDER_COLOR)
dc->drawSolidRect(0, 0, width(), height(), 1, WINDOWS_INSPECT_BORDER_COLOR);