Patch for wxFormBuilder 3.5.0

62 views
Skip to first unread message

Michael Uman

unread,
Apr 6, 2016, 8:47:49 PM4/6/16
to wx-users
Hello,

I have attached a patch to this message which can be applied to the last available version of wxFormBuilder (v3.5.0) which outputs C++ code which does not cause deprecated constructor warnings when building the code.

The issue is that the wxFont constructor now requires enumerated types rather than integer defines.

I was getting a bit perturbed by having to tweak the generated code every time the code generator is run to avoid these pesky warnings (I also removed all warnings generated when building wxFormBuilder).

If anyone can get these patches to the original maintainer I would be happy. I may try to contact them myself.

Thank you,
Michael Uman
Sr. Software Engineer for System Tools @ Sigma Designs

wxFormBuilder-3.5.0-wxFont-fix.patch

Vadim Zeitlin

unread,
Apr 7, 2016, 9:29:12 AM4/7/16
to wx-u...@googlegroups.com
On Wed, 6 Apr 2016 17:47:49 -0700 (PDT) Michael Uman wrote:

MU> I have attached a patch to this message which can be applied to the last
MU> available version of wxFormBuilder (v3.5.0) which outputs C++ code which
MU> does not cause deprecated constructor warnings when building the code.

Hello,

This is not the right place to post this patch, I don't know who maintains
wxFormBuilder, but it's definitely not maintained by us, wxWidgets
developers ourselves.

MU> If anyone can get these patches to the original maintainer I would be
MU> happy. I may try to contact them myself.

Yes, please try to do this, there is absolutely nothing we can do about
this patch.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Reply all
Reply to author
Forward
0 new messages