return;
wxArrowButton* btn = (wxArrowButton*)clientData;
- delete btn->m_timer;
- btn->m_timer = 0;
+ wxDELETE(btn->m_timer);
}
bool wxArrowButton::Create( wxSpinButton* parent,
ArrowDirection d,
const wxPoint& pos, const wxSize& size )
{
- wxCHECK_MSG( parent, false, _T("must have a valid parent") );
+ wxCHECK_MSG( parent, false, wxT("must have a valid parent") );
int arrow_dir = XmARROW_UP;
event.SetPosition( npos );
event.SetEventObject( this );
- GetEventHandler()->ProcessEvent( event );
+ HandleWindowEvent( event );
if( event.IsAllowed() )
{
event.SetEventType( wxEVT_SCROLL_THUMBTRACK );
event.SetPosition( m_pos );
- GetEventHandler()->ProcessEvent( event );
+ HandleWindowEvent( event );
}
}