An overwrite query dialog will present if there were source files with the same name while creating the resouce.
However, it would stay there although I chosen "Yes" to overwrite the files.
Steps to reproduce:
1. Create a new resouce, eg, wxDialog, in your project with the default name or rename it, NewDialog. then press OK.
2. Remove the resource but not delete the source files
3. repeate step 1 with the same name, eg, NewDialog.
4. Press OK and a new dialog "File exists" would popup to ask you to overwrite with "Yes", "No" and "Cancel".
5. Choose "Yes".
However, the "New wxDialog resource" dialog is still there. If you click OK, You will be back to step 3 again. No way out if you don't want to cancel.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please post the exact steps needed to reproduce the problem.
Steps to reproduce:
1. Create a new resouce, eg, wxDialog, in your project with the default name or rename it, NewDialog. then press OK.
2. Remove the resource but not delete the source files
3. repeate step 1 with the same name, eg, NewDialog.
4. Press OK and a new dialog "File exists" would popup to ask you to overwrite with "Yes", "No" and "Cancel".
5. Choose "Yes".
However, the "New wxDialog resource" dialog is still there. If you click OK, You will be back to step 3 again. No way out if you don't want to cancel.
On step 2 remove what? The resource from the project? the wxs file? the rc file?
Please provide exact steps. Describing every click. Thank you!
Ok, i can reproduce it now
plugins\contrib\wxSmith\wxwidgets\wxsnewwindowdlg.cpp:431
The case wxYES is obviously missing in both cases
fix attached
Fixed in r12325