Is there a Cocoa / OSX expert I can hire here for this issue ?
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wx-users
| modal_result = [NSApp runModalSession:modal_session]; |
No expert in Cocoa. But are you sure that your dialogue needs to be modal (meaning it suppresses all input to the parent dialogue)?Often Plug-Ins can be written in a way that they don't stop the calling application while they are running.If not I think your guess is correct and your dialogue needs to know which parent window to prevent from getting focus while it is running.Kind regards,Gunter.
Am 01.07.2017 6:13 nachm. schrieb "Toinou Dorni" <tto...@gmail.com>:
Is there a Cocoa / OSX expert I can hire here for this issue ?--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+u...@googlegroups.com
or visit http://groups.google.com/group/wx-users
Hi
The code was wxMac specific I doubt it could break things (maybe in iphone stuff ?).
The issue would be code that expected Exit to behave like it did before
I don't understand why ScheduleExit would call abortModal but not Exit ?
Because according to the docs ScheduleExit would cause the outer event loop to exit as soon as its nested ones are done, while Exit should only finish the innermost running event loop. But I’ll have to try to find out what exactely was the reason for starting with abortModal at all, instead of just ending the modal session. IIRC there were cases where the modal loop would not be terminated, and abortModal was the thing working back then. But perhaps this error wouldn’t occur anyway anymore, because of fixes in the OS. I’ll try to find out..
Best,
Stefan
void wxGUIEventLoop::EndModalSession()
{