How to get native windows decorations on GTK3 on Windows 7+ and MSYS2
<p>I am trying to port my application from linux to windows and I have a problem with theming. In linux this works out of a box, just compile it and application is using good theme and looks native. </p>

<p>I have installed gtkmm3 and gtk3 in MSYS2 and I am building it with CMake. This is OK, I had to copy all dlls to directory with binary to be able to execute it. I did not copy anything else. I am trying to create "unzip and execute" package.</p>

<p>My problem is, that application looks out of place. It does not look native at all. There are shadows around the window, which is fine in Windows10, but in Windows 7 it looks not native. Also several icons are missing.</p>

<p><a href="https://i.stack.imgur.com/yHYSA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yHYSA.png" alt="bad gtk3 application theme on Windows10"></a></p>

<p>Even gitk3-demo looks non-native in the same way (but it has at least the minimize/maximize/close icons correct).</p>

<p>So the question is: How can I achieve native look of GTK3 application on Windows? Or at least native window decorations? </p>

<p>Thanks</p>