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

wxWidgets 3.1.6 has been released

Started by Miguel Gimenez, April 04, 2022, 11:56:18 AM

Previous topic - Next topic

Miguel Gimenez

wxWidgets 3.1.6 has just been released.

First compilation of C::B works flawlessly at the moment. The new wxBitmapBundle class will ease HiDPI support replacing many bitmaps with one SVG image.

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.

AndrewCot

Thanks. I have updated my local C::B build to wxWidgets 3.1.6 and C::B is running.

For other devs, remember to change the wxUSE_GRAPHICS_DIRECT2D define to 1.

gd_on

Apparently, wxWidgets 3.1.6 is still a release candidate (presently _rc2). But official version will be certainly proposed in a few hours ...
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Miguel Gimenez

It is official now (you may need to refresh the page). The zipped source is from rc2.

jordi

All right in Debian distribution

jordi@debian:~/source/codeblocks-code$ lsb_release -a
No LSB modules are available.
Distributor ID:   Debian
Description:   Debian GNU/Linux 11 (bullseye)
Release:   11
Codename:   bullseye
jordi@debian:~/source/codeblocks-code$ uname -a
Linux debian 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux


make clean
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
./bootstrap
./configure --prefix=/home/jordi/build/ --with-wx-config=/usr/local/bin/wx-config
make all -j 10


gd_on

#6
I compiled and linked C::B (svn 12779 and 12780) with wxWidgets 3.1.6.
Normally, the interface should appear in French for me, but it's still in English. The same svn versions compiled and linked with wxWidgets 3.1.5 have the correct behaviour (appear in French with my configuration). C::B, with wxWidgets 3.1.6 seems to work as it should, but the interface stays in English, despite the fact that in Settings/View the French language is proposed and set for me.
In wxWidgets, I tried the internat sample : it seems to work as it should.
Is it a wxWidgets problem, a C::B one ?
Does anybody has such a problem ?

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Miguel Gimenez

There is a new wxUILocale class, may be related to it.

stahta01

wxPython fails to build with wxWidgets 3.1.6; they removed a class name whose function was duplicated by another class.

Add more info
https://github.com/wxWidgets/wxWidgets/pull/2445
Replace DoGetBorderSize() with GetWindowBorderSize()

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

Quote from: stahta01 on April 07, 2022, 04:14:44 AM
wxPython fails to build with wxWidgets 3.1.6; they removed a class name whose function was duplicated by another class.

Add more info
https://github.com/wxWidgets/wxWidgets/pull/2445
Replace DoGetBorderSize() with GetWindowBorderSize()

Tim S.

Hi, Tim, do you mean this will effect the native C++ wx library 3.1.6? Since we don't use wxPython in our C::B code base.
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.

stahta01

#10
Quote from: ollydbg on April 07, 2022, 04:36:50 AM
Quote from: stahta01 on April 07, 2022, 04:14:44 AM
wxPython fails to build with wxWidgets 3.1.6; they removed a class name whose function was duplicated by another class.

Add more info
https://github.com/wxWidgets/wxWidgets/pull/2445
Replace DoGetBorderSize() with GetWindowBorderSize()

Tim S.

Hi, Tim, do you mean this will effect the native C++ wx library 3.1.6? Since we don't use wxPython in our C::B code base.

No, I have no idea if it effects C::B; it would be a build time error if it does.

But, wxWidgets 3.1.6 seems to be more breaking changes.

Edit: It is likely to only effect run-time problems on the old Python plugin; and, maybe not even in it.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

@gd_on, can you test again using the attached file? It is a renamed cpp.

If it does not work, please post the .mo (and installation instructions) so I can test locally.

gd_on

#12
I am testing this. I will give you the result this afternoon.
Nevertheless, the whole history for translating C::B is on the forum : https://forums.next.codeblocks.org/index.php/topic,1022.0.html . Installation instruction can also be found.
Last .mo files can be found on launchpad in : https://translations.launchpad.net/codeblocks-gd in the translation tab.
A spanish partial translation exist.
You simply put the choosen .mo file in C:\Program Files\CodeBlocks\share\CodeBlocks\locale\fr_FR for me but may be a es_ES sub folder for spanish. Then in Settings/Environment/View you choose the language and restart C::B to activate the translation.

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Miguel Gimenez


gd_on

as far as I know, it's not necessary to just download files.
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).