No changes, just add a comment to the button focus handling code.
The workarounds for the button focus issues should become unnecessary if we switch to setting the focus correctly as explained in the linked post. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
de847cbcce
commit
eb74a51f7e
@ -677,6 +677,14 @@ wxSize wxButtonBase::GetDefaultSize()
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
/*
|
||||
The comment below and all this code is probably due to not using WM_NEXTDLGCTL
|
||||
message when changing focus (but just SetFocus() which is not enough), see
|
||||
http://blogs.msdn.com/oldnewthing/archive/2004/08/02/205624.aspx for the
|
||||
full explanation.
|
||||
|
||||
TODO: Do use WM_NEXTDLGCTL and get rid of all this code.
|
||||
|
||||
|
||||
"Everything you ever wanted to know about the default buttons" or "Why do we
|
||||
have to do all this?"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user