~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/cadxcore/main/gui/previewpanel/previewpanel.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
                //interfaz modelo dicom
71
71
                void PreviewPanel::LoadModel(IPreviewNode* pNode )
72
72
                {
 
73
                        Freeze();
73
74
                        m_pPreviewTitle->SetToolTip(wxString::FromUTF8(pNode->GetLabel().c_str()));
74
75
                        m_pPanelVertical->SetToolTip(wxString::FromUTF8(pNode->GetLabel().c_str()));
75
76
                        m_pPanelPreviews->GetSizer()->Clear(true);
 
77
                        m_pSelected = NULL;
76
78
                
77
79
                        int leafIndex = 0;
78
80
                        for (IPreviewNode::TListNodes::iterator it = pNode->children.begin(); it != pNode->children.end(); ++it, ++leafIndex)
86
88
                                        m_pPanelPreviews->GetSizer()->Add(pNewLevel,0,wxBOTTOM|wxEXPAND,0);
87
89
                                }                               
88
90
                        }
89
 
                        GNC::GCS::IEventsController::Instance()->ProcesarEvento(new GNC::GUI::Events::EventoLayoutHistorial(m_pView));
 
91
                        Thaw();
 
92
                        GNC::GCS::IEventsController::Instance()->ProcesarEvento(new GNC::GUI::Events::EventoLayoutHistorial(m_pView));                  
90
93
                }
91
94
 
92
95
                wxWindow* PreviewPanel::GetWxWindow()