~ubuntu-branches/ubuntu/raring/ginkgocadx/raring-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/main/tools/herramientareset.cpp

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2012-01-29 12:02:54 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120129120254-nu7giync5p156icb
Tags: 2.8.0.4602-1
New upstream version (adapted patch, removed patch applied upstream)
Closes: #657827

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  
3
 
 *  $Id: herramientareset.cpp 4330 2011-10-25 10:28:33Z tovar $
 
3
 *  $Id: herramientareset.cpp 4478 2011-12-13 11:55:00Z carlos $
4
4
 *  Ginkgo CADx Project
5
5
 *
6
6
 *  Copyright 2008-10 MetaEmotion S.L. All rights reserved.
59
59
 
60
60
                        void OnActivarResetClick( wxCommandEvent& event )
61
61
                        {
62
 
                                m_pHerramienta->SolicitarActivacion();
 
62
                                m_pHerramienta->SolicitarActivacion(GNC::GCS::TriggerButton().EnableLeft());
63
63
                                event.Skip(false);
64
64
                        }
65
65
 
113
113
        return true;
114
114
}
115
115
 
116
 
//region "Realizaci�n de la interfaz IHerramienta"
 
116
//region "Realizacion de la interfaz IHerramienta"
117
117
 
118
118
void GNC::HerramientaReset::CrearPaneles( wxPanel* /*pParent*/ )
119
119
{
120
120
        m_pAbstractPanelHerramientaOpciones =  NULL;
121
121
}
122
122
 
123
 
void GNC::HerramientaReset::SolicitarActivacion()
 
123
void GNC::HerramientaReset::SolicitarActivacion(const GNC::GCS::TriggerButton&)
124
124
{
125
125
        //TODO ARREGLAR EL RESET EN FUNCION DE LOS CAMBIOS EN WIDGETS!!! lo normal es que lance un evento de visualización modificada
126
126
        GTRACE("GNC::HerramientaWindowLevel::Resetear()");