News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

C::B Revision 11459, Toolbar is not drawing properly. it has transparency!

Started by tomay3000, September 09, 2018, 08:06:18 PM

Previous topic - Next topic

tomay3000

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.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tomay3000

Sorry  :-[
Yes I am talking about the toolbars, and I corrected my question.

oBFusCATed

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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tomay3000

I don't have wx master. I am currently waiting for wx 3.1.2 release (it could take longer I know).

oBFusCATed

git clone .../wxwidgets.git; build; install; rebuild cb. It is not that hard.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tomay3000

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.

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.