Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Listener class object pointer becomes null after wxWidgets app initialized. #2

Closed
adct-the-experimenter opened this issue May 13, 2019 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@adct-the-experimenter
Copy link
Owner

adct-the-experimenter commented May 13, 2019

https://www.codetriage.com/adct-the-experimenter/binaural-audio-editor/badges/users.svg
I need help in finding a solution to keeping Listener pointer not null so that it can be edited by a dialog. It becomes null after wxWidgets app initialization finishes.

Knowledge of wxWidgets, C++, and threads would be helpful here.

Editing the position and orientation of the listener is a very important new feature that needs to be added. It affects how sound is played.

It would be a very major contribution to the project if you solved this!

@adct-the-experimenter adct-the-experimenter added bug Something isn't working help wanted Extra attention is needed labels May 13, 2019
@adct-the-experimenter adct-the-experimenter changed the title A pointer becomes null after wxWidgets app initialized Listener class object pointer becomes null after wxWidgets app initialized. May 13, 2019
@adct-the-experimenter
Copy link
Owner Author

Uncomment Line 163 in osgViewerWX.cpp to reproduce error.

163 // menuBar->Append(menuListener, "&Listener"); //connecte listener menu item to bar

@adct-the-experimenter
Copy link
Owner Author

Issue fixed! Used Bind instead of Connect for wxwidgets stuff.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant