]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/MaximumsDialog.cxx
#3207 creaMaracasVisu Feature New Normal branch vtk7itk4wx3-mingw
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / MaximumsDialog.cxx
index edcc939b3cb758764dd4f6a1640615c2f14b30de..1140df5e99294bc5edd147fad7f1b35c3516fda9 100644 (file)
@@ -72,7 +72,12 @@ MaximumsDialog::MaximumsDialog(wxWindow *parent,wxString title)
     
        SetAutoLayout( TRUE );
     SetSizer( sizer );
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
        SetBestSize(wxSize(325,100));
+#else
+       SetSize(wxSize(325,100));
+#endif
 }
 //-----------------------------------------------------------------
 float MaximumsDialog::getXValue()