all controls use 32 bit values now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,10 +69,10 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
|
||||
void wxRadioButton::SetValue(bool val)
|
||||
{
|
||||
wxRadioButton *cycle;
|
||||
if ( GetControlValue( (ControlHandle) m_macControl ) == val )
|
||||
if ( GetControl32BitValue( (ControlHandle) m_macControl ) == val )
|
||||
return ;
|
||||
|
||||
::SetControlValue( (ControlHandle) m_macControl , val ) ;
|
||||
::SetControl32BitValue( (ControlHandle) m_macControl , val ) ;
|
||||
if (val)
|
||||
{
|
||||
cycle=this->NextInCycle();
|
||||
@@ -88,7 +88,7 @@ void wxRadioButton::SetValue(bool val)
|
||||
|
||||
bool wxRadioButton::GetValue() const
|
||||
{
|
||||
return ::GetControlValue( (ControlHandle) m_macControl ) ;
|
||||
return ::GetControl32BitValue( (ControlHandle) m_macControl ) ;
|
||||
}
|
||||
|
||||
void wxRadioButton::Command (wxCommandEvent & event)
|
||||
|
||||
Reference in New Issue
Block a user