kenz-gelsoft / wxRust2

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

Make platform-specific API binding conditionally compiled #42

Closed kenz-gelsoft closed 2 years ago

kenz-gelsoft commented 2 years ago

like this

fixes https://github.com/kenz-gelsoft/wxRust2/issues/41

kenz-gelsoft commented 2 years ago

Considering stop building with wx3.0 on Linux.

Supporting building with both wx3.0 and 3.1 series simaltanaously requires more complex conditional code generation case.

In this (early) project phase, that is too much.