Code::Blocks Forums

User forums => Help => Topic started by: ToApolytoXaos on January 29, 2014, 04:25:28 pm

Title: Bug on wxPanel's border width resize to 0 - 13.12 (32-bit) Debian testing
Post by: ToApolytoXaos on January 29, 2014, 04:25:28 pm
I followed the same procedure I do every time I install C::B on any machine, either that is Windows or GNU / Linux.

This time, on Debian testing 32-bit installed on VirtualBox, it produced a tiny black squarish pixel when I reduced wxPanel's border width to 0. When I resize it back to its original size, that is 5, it stays the same, but makes sizer visible around it. Also, notice the right menu that prevents me from previewing my GUI.

http://pasteboard.co/hKx07sW.png (http://pasteboard.co/hKx07sW.png)

Specs:
Code::Blocks 13.12, 32-bit
wxGTK 2.8.12, wxGTK 3.0.0

P.S.: The problematic project uses wxGTK 3.0.0 for testing purposes if it helps a bit.
Title: Re: Bug on wxPanel's border width resize to 0 - 13.12 (32-bit) Debian testing
Post by: ToApolytoXaos on January 29, 2014, 04:49:52 pm
Also, there's an error in wxWidgets wizard when you choose version 2.8 instead of 3.0; it should be in Compiler Settings > Other options

Code
`wx-config --version=2.8 --cflags`
[[if (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.8.0")) print(_T("-Wno-unused-local-typedefs"));]]

and in Linker settings > Other linker options
Code
`wx-config --version=2.8 --libs`

By not including the --version=2.8, it would assume it needs the highest version available, and not the one of your preconfigured upon initial run.