WinCE: Fix call of GetAncestor in setParent_sys()
There is no GetAncestor under Windows CE. Use GetParent instead. Change-Id: I87b86961dade0d5c7c8bf6a470f777d32188dcd2 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>bb10
parent
0d897a7fb6
commit
525ec093b4
|
|
@ -295,6 +295,15 @@ inline DWORD GetGlyphOutline( HDC /*hdc*/, UINT /*uChar*/, INT /*fuFormat*/, GLY
|
|||
return GDI_ERROR;
|
||||
}
|
||||
|
||||
inline HWND GetAncestor(HWND hWnd, UINT /*gaFlags*/)
|
||||
{
|
||||
return GetParent(hWnd);
|
||||
}
|
||||
|
||||
#ifndef GA_PARENT
|
||||
# define GA_PARENT 1
|
||||
#endif
|
||||
|
||||
#ifndef SPI_SETFONTSMOOTHINGTYPE
|
||||
# define SPI_SETFONTSMOOTHINGTYPE 0x200B
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue