-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
[wxDialog] Crashing on ShowModal() #46
Comments
Update: If I compile without using wxPanel it works. This leads me to believe that November 15, 2018 update (Added support for data transfer callbacks.) was the one causing this issue. -Henri |
so manually undoing or "commenting out" the function content resolves the issue? Maybe it uses some "handles" internally - which are not yet assigned when OnInit is called? |
Hi Ron, I did not try to comment out the functions added in the update, but simple did not use the wxPanel in creating the dialog, as I did notice the program flow was bouncing between the added datatransfer function in the wxPanel and the related function in wxWindow. In any case, the fix lies in editing the wxPanel. I'll try to test that next.. -Henri |
Finally got around to it.. Okay, I commented out the transferdata-methods in wxpanel.bmx, glue.cpp and glue.h files and this fixes the problem. Not sure what prompted Brucey to add them in the first place, but so far I haven't come across any problems using code without them. I also made the example code a bit leaner and more precise to the issue -Henri |
Hi,
calling ShowModal in dialogs OnInit() goes on to perpetual loop that eventually crashes the program when stack runs out.
Example:
-Henri
The text was updated successfully, but these errors were encountered: