If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Is there a robust way to find out if a process hangs in an event loop of a modal dialog.
I am testing a gui and sometimes a modal dialog blocks the progress of the testing code. If so, I would like to end the modal dialog and continue testing. Sofar I do this (in an wxIdleEvent) to achive what I´d like to do, but it seems not completely reliable:
I find odd that wxEventLoopBase::IsMain() returns incorrect information. Perhaps this happens when the dialog is not an actual wxWidgets dialog but a wrapper around a native API (e.g., Common Dialogs on Windows)?
I find odd that wxEventLoopBase::IsMain() returns incorrect information. Perhaps this happens when the dialog is not an actual wxWidgets dialog but a wrapper around a native API (e.g., Common Dialogs on Windows)?
I think, it´s not so much about the IsMain() returns bad information, it is rather that I don´t get an IdleEvent when a wxMessageDialog is modal, hence I have no opportunity to ask for the loop to be main...