Search found 48 matches
- Tue Apr 17, 2018 9:10 am
- Forum: C++ Development
- Topic: wxAPP::OnExit not called with wxWidgets 3.1.1
- Replies: 11
- Views: 1669
Re: wxAPP::OnExit not called with wxWidgets 3.1.1
You are the boss!! It worked well after I added Skip in my OnClose handler! Thanks a lot. BTW, the issue of shared_ptr might introduced by the code of calling exit in OnClose. I tried to remove it and did not meet crash. So, I should remove the exit, right? And what about the Destroy? The code is us...
- Tue Apr 17, 2018 8:53 am
- Forum: C++ Development
- Topic: wxAPP::OnExit not called with wxWidgets 3.1.1
- Replies: 11
- Views: 1669
Re: wxAPP::OnExit not called with wxWidgets 3.1.1
No, I tried minimal. It works well. OnInit did not fail. Other wise the app/frame would not show up. The original issue is I met a dialog each time I run the app "Deleted stale lock file '/home/username/prog_name-username' ". Googled and found someone said the wxSingleInstanceChecker I used was not ...
- Tue Apr 17, 2018 7:58 am
- Forum: C++ Development
- Topic: wxAPP::OnExit not called with wxWidgets 3.1.1
- Replies: 11
- Views: 1669
wxAPP::OnExit not called with wxWidgets 3.1.1
My application runs well with wxWidgets 3.1.0. However, the OnExit would not be called in Closing under Linux(GTK3/2) after I linked with 3.1.1. My code of the App class derived from wxAPP is not changed in the transition, which is still working well on Windows. Below is the declaration of the class...