updated source to not use deprecated wxList methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2003-01-14 07:01:22 +00:00
parent 8baeca5b24
commit eb22f2a6dc
30 changed files with 192 additions and 192 deletions

View File

@@ -95,23 +95,23 @@ wxSize wxButton::GetDefaultSize()
void wxButton::Command (wxCommandEvent & event)
{
if ( (ControlHandle) m_macControl )
{
HiliteControl( (ControlHandle) m_macControl , kControlButtonPart ) ;
unsigned long finalTicks ;
Delay( 8 , &finalTicks ) ;
HiliteControl( (ControlHandle) m_macControl , 0 ) ;
}
if ( (ControlHandle) m_macControl )
{
HiliteControl( (ControlHandle) m_macControl , kControlButtonPart ) ;
unsigned long finalTicks ;
Delay( 8 , &finalTicks ) ;
HiliteControl( (ControlHandle) m_macControl , 0 ) ;
}
ProcessCommand (event);
}
void wxButton::MacHandleControlClick( WXWidget control , wxInt16 controlpart )
void wxButton::MacHandleControlClick( WXWidget WXUNUSED(control) , wxInt16 controlpart )
{
if ( controlpart != kControlNoPart )
{
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, m_windowId );
event.SetEventObject(this);
ProcessCommand(event);
}
if ( controlpart != kControlNoPart )
{
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, m_windowId );
event.SetEventObject(this);
ProcessCommand(event);
}
}