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

wxNamingViewer: build with wxWidgets 3.2 #2169

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

saper
Copy link
Contributor

@saper saper commented Nov 27, 2023

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.

@mitza-oci
Copy link
Member

Thanks for working on this. Would it be feasible to update one of the GitHub Actions builds to enable wxWidgets?

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.
@saper
Copy link
Contributor Author

saper commented Nov 28, 2023

Thanks for working on this. Would it be feasible to update one of the GitHub Actions builds to enable wxWidgets?

Sure, tried this 74ba32c but it looks like the build does not even descend into the utils directory as it did for me: https://github.com/DOCGroup/ACE_TAO/actions/runs/7023541947/job/19110306550?pr=2169

@mitza-oci
Copy link
Member

It's running the makefile but not building anything yet.
https://github.com/DOCGroup/ACE_TAO/actions/runs/7023541947/job/19110306550?pr=2169#step:18:4354
One of the earlier steps that writes to platform_macros.GNU needs to add wxWindows=1 to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants