The Window which has the focus is now marked with "(*)" in traces
This commit is contained in:
+1
-1
@@ -244,7 +244,7 @@ void Window::fullPaint(BitmapBuffer * dc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (paintNeeded) {
|
if (paintNeeded) {
|
||||||
TRACE_WINDOWS_INDENT("%s", getWindowDebugString().c_str());
|
TRACE_WINDOWS_INDENT("%s%s", getWindowDebugString().c_str(), hasFocus() ? " (*)" : "");
|
||||||
paint(dc);
|
paint(dc);
|
||||||
#if defined(WINDOWS_INSPECT_BORDER_COLOR)
|
#if defined(WINDOWS_INSPECT_BORDER_COLOR)
|
||||||
dc->drawSolidRect(0, 0, width(), height(), 1, WINDOWS_INSPECT_BORDER_COLOR);
|
dc->drawSolidRect(0, 0, width(), height(), 1, WINDOWS_INSPECT_BORDER_COLOR);
|
||||||
|
|||||||
Reference in New Issue
Block a user