Fix initial wxRadioBox buttons positions in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 2 Feb 2012 14:26:06 +0000 (14:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 2 Feb 2012 14:26:06 +0000 (14:26 +0000)
commitd9c4ffa89374b337ff6416ef5d9e742c026f11e2
tree2942ad3ef1702e5fc06c4297542446cc20526896
parentd05ff890b4e796f06e9de5829632b567e7219725
Fix initial wxRadioBox buttons positions in wxMSW.

We only updated the button positions when the radio box was moved or resized
after being created but didn't do it initially, so a radio box created with
fixed position and size didn't lay out its buttons correctly. Do lay them out
immediately after creating the radio box to fix this.

Closes #13912.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/radiobox.h
src/msw/radiobox.cpp