kenz-gelsoft / wxRust2

re-exploration Rust binding to wx
MIT License
78 stars 10 forks source link

Support modern looks on wxMSW by embedding application manifest #154

Open kenz-gelsoft opened 2 years ago

kenz-gelsoft commented 2 years ago

Link wx/msw/wx.rc into result binary with https://github.com/nabijaczleweli/rust-embed-resource or by other mean as noted in https://www.wxwidgets.org/docs/faq/windows/#manifest

kenz-gelsoft commented 2 years ago

rust-embed-resource doesn't treat rc files outside project root.

It adds $OUT_DIR to include path, so copying wx.rc from $wxwin or vendored repo's include path should work.

https://github.com/nabijaczleweli/rust-embed-resource/issues/32

kenz-gelsoft commented 2 years ago

If this worked well in my toy project, documentation will be the TODO.