X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e431c7df61e57e2e55e20c3fe8e479bd635739d8..0738b901b17340f09766524b8d9d79e9ed1268e7:/src/msw/button.cpp?ds=inline diff --git a/src/msw/button.cpp b/src/msw/button.cpp index c81472bebc..6be8b813b3 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -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?"