I am thinking of creating a patch to remove the deprecated brush and pen constants in wxWidgets 3.0.1, but I am not sure of the best way to ensure that older versions of wxWidgets.
Maybe it is necessary to have #ifdef's but it might get messy because some #define's have been replaced by enums which means changing method signatures.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have recently started clang as a compiler on Linux. wxSF builds and works fine with this compiler.
With -Wall option there are a few warnings that are trivial to fix:
The first just requires a test to be removed, the second two just require 'const' to be added to match the base class function.
Unfortunately wxWidgets 3.0 has deprecated wxPEN and wxBRUSH macros, so there are quite a few warnings caused by that.
Thank you for the feedback. I have fixed the issues in accordance to your suggestion in the trunk.
Perfect, thank you it compiles fine now.
I am thinking of creating a patch to remove the deprecated brush and pen constants in wxWidgets 3.0.1, but I am not sure of the best way to ensure that older versions of wxWidgets.
Maybe it is necessary to have #ifdef's but it might get messy because some #define's have been replaced by enums which means changing method signatures.