Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: tomay3000 on September 09, 2018, 08:06:18 pm

Title: C::B Revision 11459, Toolbar is not drawing properly. it has transparency!
Post by: tomay3000 on September 09, 2018, 08:06:18 pm
Hello,
I have compiled the latest SVN C::B using wxWidgets v3.1.1, everything went OK except the toolbar is not drawing properly, and has transparent background.

also the SVN version is displayed as 0 instead of 11459 in the about box.

Could anyone tell me how to resolve this issue!

Thank you.
Title: Re: C::B Revision 11459, Menu bar is not drawing properly. it has transparency!
Post by: oBFusCATed on September 09, 2018, 08:22:46 pm
Are you talking about the toolbars?
Title: Re: C::B Revision 11459, Toolbar is not drawing properly. it has transparency!
Post by: tomay3000 on September 09, 2018, 10:11:01 pm
Sorry  :-[
Yes I am talking about the toolbars, and I corrected my question.
Title: Re: C::B Revision 11459, Toolbar is not drawing properly. it has transparency!
Post by: oBFusCATed on September 09, 2018, 10:22:28 pm
Can you try to build against wx master?
If you search their history you'll see this recent commit: https://github.com/wxWidgets/wxWidgets/commit /ce903da7983be5dbb658f86ba89b5664413ce405
Title: Re: C::B Revision 11459, Toolbar is not drawing properly. it has transparency!
Post by: tomay3000 on September 09, 2018, 11:10:30 pm
I don't have wx master. I am currently waiting for wx 3.1.2 release (it could take longer I know).
Title: Re: C::B Revision 11459, Toolbar is not drawing properly. it has transparency!
Post by: oBFusCATed on September 09, 2018, 11:39:54 pm
git clone .../wxwidgets.git; build; install; rebuild cb. It is not that hard.
Title: Re: C::B Revision 11459, Toolbar is not drawing properly. it has transparency!
Post by: tomay3000 on September 10, 2018, 01:10:23 am
Thanks for the hint, and the solution also.
The thing is I prefer the LAZY way  ;D

I have managed to subclass wxAuiManager in C::B code itself say: wxAuiManagerEx and overridden OnPaint and did the fixes without the need to rebuild wx.
I had to wait hours and hours to build wx, with all the configurations (debug, release, monolithic, static, shared, ...etc). because I have a slow computer.
Title: Re: C::B Revision 11459, Toolbar is not drawing properly. it has transparency!
Post by: ollydbg on September 10, 2018, 04:26:41 pm
A known bug which is fixed in wx trunk, we have already discussed here: toolbar bottom edge is not shown corectly under C::B build with wx git master (http://forums.codeblocks.org/index.php/topic,20938.0/all.html)