How have you made the Window decoration native on Windows 10?

Hi,

I’m just starting writing a GTK app, and on Windows the window decoration looks shit. It’s the wrong font, the wrong icons, the wrong corner rounding, etc. MyPaint does it perfectly though! How? I’ve grepped the code a bit and couldn’t find anything.

Here’s a SO question of other people failing to do the same (and it shows how shit it looks by default): gtk - How to get native windows decorations on GTK3 on Windows 7+ and MSYS2 - Stack Overflow

Thanks!