long style
)
{
- wxPanel::Create(parent, id, pos, size, style);
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
+ wxPanel::Create(parent, id, pos, size, style);
+#else
+ wxScrolledWindow::Create(parent, id, pos, size, style);
+#endif
CreateControls();
//to scroll
this->FitInside(); // ask the sizer about the needed size
this->SetScrollRate(5, 5);
-
-
return TRUE;
}