00001 00002 #include "wxMPRWidget2.h" 00003 #include "marImageData.h" 00004 00005 //---------------------------------------------------------------------------- 00006 //---------------------------------------------------------------------------- 00007 //---------------------------------------------------------------------------- 00008 wxMPRWidget2::wxMPRWidget2(wxWindow* parent,marImageData *marimagedata,double voxelSize) 00009 : wxMPRWidget(parent,marimagedata,voxelSize) 00010 { 00011 } 00012 //---------------------------------------------------------------------------- 00013 wxMPRWidget2::~wxMPRWidget2() 00014 { 00015 } 00016 //---------------------------------------------------------------------------- 00017 void wxMPRWidget2::OnRefreshView(wxCommandEvent & event) // Virtual 00018 { 00019 wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121); // Refresh 00020 this->GetParent()->ProcessEvent(newevent1); 00021 }