From 5fc368fc23f0720fc193883d0709df8417268987 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 5 Nov 2014 12:59:44 -0500 Subject: Started adding TextField.ReadOnly() and implemented it (mostly) on Windows. --- common_windows.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common_windows.c') diff --git a/common_windows.c b/common_windows.c index ca42eab..207b691 100644 --- a/common_windows.c +++ b/common_windows.c @@ -85,6 +85,7 @@ BOOL sharedWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT * return TRUE; case WM_CTLCOLORSTATIC: case WM_CTLCOLORBTN: + // TODO exempt read-only textboxes if (SetBkMode((HDC) wParam, TRANSPARENT) == 0) xpanic("error setting transparent background mode to Labels", GetLastError()); paintControlBackground((HWND) lParam, (HDC) wParam); -- cgit v1.2.3