Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manager: adjust wxWidgets 3.1 compatibility #3050

Merged
merged 3 commits into from Mar 21, 2019

Conversation

ChristianBeer
Copy link
Member

Description of the Change

  • Since wxWidgets 3.1 the webview library is not in the default set of libraries and needs to be specified explicitly. Since it is optional for BOINC the wxWidgets detection macro needed to be augmented to allow optional libraries.
  • remove deprecated wxWidgets flags: wxADJUST_MINSIZE was deprecated with 2.6 and wxNB_FLAT was only used in 3.0 on Windows CE

Fixes #2271

Alternate Designs
This solution fixes the problem at the source. The changes to the automake script were also pushed upstream to wxWidgets and got accepted for the next version (wxWidgets/wxWidgets#1256).

Release Notes
N/A

ChristianBeer and others added 3 commits February 9, 2019 13:11
wxADJUST_MINSIZE was deprected with 2.6 and wxNB_FLAT was only used in 3.0 on Windows CE
Since wxWidgets 3.1 the webview library is not in the dfault set of libraries and needs to be specified explicitly. Since it is optional for BOINC the wxWidgets detection macro needed to be augmented to allow optional libraries.
@RichardHaselgrove
Copy link
Contributor

@ChristianBeer - Could you please test whether the workround in #2147 is still needed with wxWidgets 3.1? I've updated the report to describe in more detail the side-effects which are causing significant annoyance to some users.

@ChristianBeer
Copy link
Member Author

I've created a local build using this PR, latest master and wxWidgets 3.1. I got some extra tasks and will test the current behavior. Next step is to remove the workaround (locally) and see if that changes anything.

@RichardHaselgrove
Copy link
Contributor

It appears that the scrolling bug was a design failure in the BOINC code, unrelated to the wxWidgets bug the original commit intended to fix. Created separate pull request #3064 to handle the problem.

@JuhaSointusalo JuhaSointusalo merged commit fbed9f3 into master Mar 21, 2019
@JuhaSointusalo JuhaSointusalo deleted the cb_wxwidgets_31_compatibility branch March 21, 2019 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Manager fails to link with wxWidgets 3.1
3 participants