-
Notifications
You must be signed in to change notification settings - Fork 380
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
wxNamingViewer: build with wxWidgets 3.2 #2169
base: master
Are you sure you want to change the base?
Conversation
Thanks for working on this. Would it be feasible to update one of the GitHub Actions builds to enable wxWidgets? |
a13fcf5
to
d690c4d
Compare
wxNamingTree.cpp:94:45: error: non-const lvalue reference to type 'wxTreeItemIdValue' (aka 'void *') cannot bind to a value of unrelated type 'long' wxTreeItemId child = GetFirstChild( item, cookie); ^~~~~~
LLVM 16 fails to compile this, GetParent() seem to refer to wxWindow *GetParent() which has no args.
Going back to the source code from 2003, it seems that it has always should have been wxCommandEvent and not wxMouseEvent.
To get number of items in the container, GetCount() should be used. Hard to tell when Number() has been removed.
Sure, tried this 74ba32c but it looks like the build does not even descend into the |
It's running the makefile but not building anything yet. |
74ba32c
to
5ec78ec
Compare
The patches attached are needed to build and
run wxNamingViewer with wxWidgets 3.2
For most existing code I could not identify which version
of wxWindows/wxWidgets it could have worked last time,
therefore a generic #ifdef has been used.
If no support for old frameworks is needed,
those could be removed.