Author Topic: What is the minimum wxWidgets version that CB SVN Support?  (Read 3293 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
What is the minimum wxWidgets version that CB SVN Support?
« 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.
« Last Edit: July 29, 2015, 06:29:19 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: What is the minimum wxWidgets version that CB SVN Support?
« Reply #1 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.
(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!]