Code::Blocks Forums
User forums => Help => Topic started by: MortenMacFly on March 18, 2006, 05:08:04 pm
-
I recently compiled C::B using wxWidgets in version 2.6.1 and 2.6.3-RC1 and then back to 2.6.2 for this:
http://forums.codeblocks.org/index.php?topic=2582.0 (http://forums.codeblocks.org/index.php?topic=2582.0)
Now I have a problem: Allthough I re-compiled C::B from scratch several times now my toolbars are corrupted in a way that they are far too wide (see the image attached). I also tried to delete the layout(s) for resetting this but it didn't work, too. The problem is still existent. I also tried to remove the config file but this doesn't help, too. Does anyone have an idea how to resolve this?
With regards, Morten.
[img=http://img206.imageshack.us/img206/1570/toolbarcorrupted3ev.th.png] (http://img206.imageshack.us/my.php?image=toolbarcorrupted3ev.png)
Ps.: Version 1.0 revision 2213 (gcc 3.4.4 Windows/unicode, build: Mar 18 2006 15:24:23), "About" says wxWidgts 2.6.2 in addition.
-
Does really nobody have an idea? :(
I really wonder how this can happen. I did not re-compile the wxWidgets libs as of version 2.6.1, only re-compiled C::B. It was working with this setup for ages before. How can suddenly the toolbars be too wide? Is the toolbar setup saved somewhere in the registry, maybe? Where?
With regards, Morten.
-
now my toolbars are corrupted in a way that they are far too wide
I have experienced this. But only because I was fooling around
with the toolbars code and specifying wxWindow::SetToolBar(m_pToolbar).
It caused the same problem.
But I dont see how just changing libs causes it. Have you tried
a "clean" CB re-build. Ie, trash the ...\output ...\devel directories
and re-build?
-
Have you tried a "clean" CB re-build. Ie, trash the ...\output ...\devel directories and re-build?
Yes, and that's exactly what really makes me wonder: I've removed the object directory, the ouput, the devel and all *.a and *.gch files. So it's really in fact a complete re-build from scratch. I even removed the wxWidgets directories 2.6.1 and 2.6.3-RC1 completely not to interfer somehow (allthough the path setup is alright) but still the toolbars are like that. I can really only imagine the toolbar parameters are recalled from the registry or something like that. Not to forget: I also removed the C::B settings file...
With regards, Morten.
-
Alright, I found the reason: When I compiled wxWidgets version 2.6.3 the DLL was copied to my Windows system32 folder. Because this is before my "own" DLL folder in the PATH I was all the way using the wxWidgets 2.6.3 DLL, also with the 2.6.2 build. removing the DLL from the system32 folder made my toolbars look like it was before - with normal size.
BTW: With wxWidgets version 2.6.3-RC2 the toolbars are still corrupted (see http://forums.codeblocks.org/index.php?topic=2666.0 (http://forums.codeblocks.org/index.php?topic=2666.0) as well...)
Thanks for the help anyway!
With regards, Morten.