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

Compile errors with current (3.1.2) wxWidgets #46

Closed
Lys0gen opened this issue Feb 25, 2019 · 2 comments
Closed

Compile errors with current (3.1.2) wxWidgets #46

Lys0gen opened this issue Feb 25, 2019 · 2 comments

Comments

@Lys0gen
Copy link

Lys0gen commented Feb 25, 2019

Errors appear in the following files/lines:
xydynamicdataset.cpp:99
WX_APPEND_ARRAY is apparently not recognized by the current wxWidgets.

dataset.cpp:149
DatasetArrayBase::Remove parameter is not valid anymore. Since I have no clue how those dynamic arrays and wxWidgets macros function I just replaced it with a loop that compares the parameter and then utilizes RemoveAt instead which still works.

Someone who knows how this all works probably has proper solutions for this.

The sample also no longer auto compiles due to renamed libraries/linker errors.

@QFer
Copy link
Contributor

QFer commented Feb 29, 2020

Fixed in pull request #47 for wxWidgets 3.1.3

@iwbnwif
Copy link
Owner

iwbnwif commented Aug 22, 2021

Thank you for the PR, this is merged now. I would really like to move away from these arrays and standardise on wxVectors.

@iwbnwif iwbnwif closed this as completed Aug 22, 2021
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

No branches or pull requests

3 participants