Page 1 of 1

outline not docking

Posted: Tue Jan 12, 2016 11:22 am
by denk_mal
Hi,

I am using codelite 9.1.0 (self-compiled from github). I am docking the outline window to the right side but on every restart it will be floating again.
Codelite won't be saving this state.

The only change I had to do for compiling is working are a change in plugin/wxFlatButton.cpp
because my wxWidget (3.0.2) is not knowing those constructor from wxBitmap.
So I changed
wxBitmap disabledBmp = wxBitmap(img, bmp.GetScaleFactor());
to
wxBitmap disabledBmp = wxBitmap(img, -1); // , bmp.GetScaleFactor());

may this be the reason for those bug?
And what version of wxWidget has this new constructor?

OS: openSuse 13.2
wxWidget: 3.0.2
gcc: 4.8.3
cmake: 3.0.2
Ccodelite: 9.1.0; selfcompiled from github (12. jan 2016)

Re: outline not docking

Posted: Tue Jan 12, 2016 12:27 pm
by eranif
It was reported yesterday: https://github.com/eranif/codelite/issues/1099

Eran

Re: outline not docking

Posted: Tue Jan 12, 2016 1:02 pm
by denk_mal
Ok, thank a lot,
I have overseen that issue.

I want to be only getting sure that those bug did not depent on my local changes.

Re: outline not docking

Posted: Tue Jan 12, 2016 2:21 pm
by DavidGH
Hi,

Commit #38d4f19 should have fixed compilation for wx3.0.2. The different ctor is used in wx3.1.

Regards,

David