//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
-wxMPRWidget2::wxMPRWidget2(wxWindow* parent,marImageData *marimagedata,double voxelSize)
-: wxMPRWidget(parent,marimagedata,voxelSize)
+wxMPRWidget2::wxMPRWidget2(wxWindow* parent,marImageData *marimagedata)
+: wxMPRWidget(parent,marimagedata)
{
}
//----------------------------------------------------------------------------
void wxMPRWidget2::OnRefreshView(wxCommandEvent & event) // Virtual
{
wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121); // Refresh
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
this->GetParent()->ProcessEvent(newevent1);
+#else
+ this->GetParent()->ProcessWindowEvent(newevent1);
+#endif
+
}