Fixed wine build. wine is sure missing a few things (and gets a few things wrong...)
This commit is contained in:
parent
a81fa141ed
commit
3d4e54822d
|
@ -110,9 +110,14 @@ void paintControlBackground(HWND hwnd, HDC dc)
|
||||||
parent = GetParent(parent);
|
parent = GetParent(parent);
|
||||||
if (parent == NULL)
|
if (parent == NULL)
|
||||||
xpanic("error getting parent container of control in paintControlBackground()", GetLastError());
|
xpanic("error getting parent container of control in paintControlBackground()", GetLastError());
|
||||||
|
// wine sends these messages early, yay...
|
||||||
|
if (parent == msgwin)
|
||||||
|
return;
|
||||||
parent = GetParent(parent);
|
parent = GetParent(parent);
|
||||||
if (parent == NULL)
|
if (parent == NULL)
|
||||||
xpanic("error getting parent control of control in paintControlBackground()", GetLastError());
|
xpanic("error getting parent control of control in paintControlBackground()", GetLastError());
|
||||||
|
if (parent == msgwin)
|
||||||
|
return;
|
||||||
if (GetClassNameW(parent, classname, 128) == 0)
|
if (GetClassNameW(parent, classname, 128) == 0)
|
||||||
xpanic("error getting name of focused window class in paintControlBackground()", GetLastError());
|
xpanic("error getting name of focused window class in paintControlBackground()", GetLastError());
|
||||||
} while (_wcsicmp(classname, L"button") == 0); // skip groupboxes
|
} while (_wcsicmp(classname, L"button") == 0); // skip groupboxes
|
||||||
|
|
|
@ -78,6 +78,7 @@ windows
|
||||||
- groupbox line behind groupbox text
|
- groupbox line behind groupbox text
|
||||||
- scrolling edit controls in Areas back into view don't cause redraw
|
- scrolling edit controls in Areas back into view don't cause redraw
|
||||||
- need to figure out the WM_MOUSELEAVE tango (see mergeback/table_mouseleave_windows.c)
|
- need to figure out the WM_MOUSELEAVE tango (see mergeback/table_mouseleave_windows.c)
|
||||||
|
- tell wine that WM_CTLCOLOR*** doesn't get sent early ?????
|
||||||
gtk+
|
gtk+
|
||||||
- Area: figure out how Enter is processed in Entry
|
- Area: figure out how Enter is processed in Entry
|
||||||
https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c#n1229
|
https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c#n1229
|
||||||
|
|
Loading…
Reference in New Issue