Fix a bug which could result in two default buttons in wxMSW dialogs.
Exchange the order of setting/resetting the new/old button as the default one when focus is lost/gained to avoid the possibility of having two simultaneously default buttons at once. Closes #9528. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -620,6 +620,7 @@ wxMSW:
|
||||
- Fix wxClientDC::Clear() for scrolled windows (Artur Wieczorek).
|
||||
- Make wxPrinterDC::DrawIcon() actually work (Artur Wieczorek).
|
||||
- Fix handling of wxSET, wxCLEAR and wxINVERT in wxDC (Artur Wieczorek).
|
||||
- Fix bug with multiple default buttons in a dialog (Artur Wieczorek).
|
||||
|
||||
wxOSX:
|
||||
|
||||
|
Reference in New Issue
Block a user