1. bug in wxSplitter corrected: mouse event coords may be negative when the
mouse is captured which made sash roll over the window 2. missing functions added to wxRadioBox 3. non existent functions removed from wxRadioBox and wxControl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -287,8 +287,17 @@ wxRadioBox::~wxRadioBox()
|
||||
|
||||
}
|
||||
|
||||
wxString wxRadioBox::GetLabel(int item) const
|
||||
{
|
||||
wxCHECK_MSG( item >= 0 && item < m_noItems, "", "invalid radiobox index" );
|
||||
|
||||
return wxGetWindowText(m_radioButtons[item]);
|
||||
}
|
||||
|
||||
void wxRadioBox::SetLabel(int item, const wxString& label)
|
||||
{
|
||||
wxCHECK_RET( item >= 0 && item < m_noItems, "invalid radiobox index" );
|
||||
|
||||
m_radioWidth[item] = m_radioHeight[item] = -1;
|
||||
SetWindowText((HWND)m_radioButtons[item], label.c_str());
|
||||
}
|
||||
|
Reference in New Issue
Block a user