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:
Stefan Csomor
2002-08-13 08:50:41 +00:00
parent 0f4930939e
commit 467e3168b3
22 changed files with 198 additions and 104 deletions

View File

@@ -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)