git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36289
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const size_t count = GetCount();
for ( size_t i = 0; i < count; ++i )
{
const size_t count = GetCount();
for ( size_t i = 0; i < count; ++i )
{
+ // don't clip out hidden children
+ if ( !IsItemShown(i) )
+ continue;
+
::GetWindowRect((*m_radioButtons)[i], &rc);
AutoHRGN hrgnchild(::CreateRectRgnIndirect(&rc));
::CombineRgn(hrgn, hrgn, hrgnchild, RGN_DIFF);
::GetWindowRect((*m_radioButtons)[i], &rc);
AutoHRGN hrgnchild(::CreateRectRgnIndirect(&rc));
::CombineRgn(hrgn, hrgn, hrgnchild, RGN_DIFF);