Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: stahta01 on July 29, 2015, 06:25:32 pm

Title: What is the minimum wxWidgets version that CB SVN Support?
Post by: stahta01 on July 29, 2015, 06:25:32 pm
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.

Code
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.
Title: Re: What is the minimum wxWidgets version that CB SVN Support?
Post by: oBFusCATed on July 29, 2015, 08:49:48 pm
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.