-void wxNewBitmapButton::OnLButtonDClick( wxMouseEvent& event )
-{
- if ( IsInWindow( event.m_x, event.m_y ) )
- {
- // fire event, if mouse was released
- // within the bounds of button
- wxCommandEvent cmd( mFiredEventType, GetId() );
- GetParent()->ProcessEvent( cmd );
-
- mDragStarted = FALSE;
- mIsPressed = FALSE;
- Refresh();
- }
-}
-