News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

What is the minimum wxWidgets version that CB SVN Support?

Started by stahta01, July 29, 2015, 06:25:32 PM

Previous topic - Next topic

stahta01

I have been looking over the #if/#else sections/blocks and see several wx2.6 or wx2.7 else blocks that can be removed.

The majority of the ones I found use one of these two methods that were depreciated with wx2.8.0.


SetInitialBestSize used in file src\switcherdlg.cpp|453|SetInitialBestSize(size);|
SetBestFittingSize used in wxSmith files and other files

Note: wxSmith is a special case that needs some of the places kept where it is generating code.

Is removing those depreciated code sections something worth my effort in doing a patch?
By this I mean will a CB Dev check over the patch and apply at least some of it to SVN?

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]

oBFusCATed

2.8.12 ... there is no reason to support older versions.
Generally I'm not sure if it is worth the effort to remove those conditionals.
I've not stumbled upon such code snippets very often in the code.
(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!]