Originally Posted by Ptizef
It would be very useful for all to know what changes you have to made and for which bug
With Windows and Linux
as far as I know it work as expected
reading your post #436 above it seems not to run with Windows as expected however.
Because I use wxWidgets 3.1.0 and Mac OS X Yosemite with Xcode 6.3.2 my changes are especially for this environment
and therefore of no importance for others. Some examples:
- The values odc.m_dParticleDensity = 4.0*exp(m_sParticleDensity->GetValue() / 2.0 - 3);
m_sParticleDensity->SetValue(2.0*(log(odc.m_dParticleDensity/4.0) + 3));
don't work here and has been changed simply to
odc.m_dParticleDensity = m_sParticleDensity->GetValue();
- In function void GribSettingsDialog::SetSettingsDialogSize() the size values or variables makes no sense here and was changed.
- To avoid asserts sizer flags
was changed or deleted. This is mostly:
Horizontal alignment flags
are ignored with wxEXPAND.
Horizontal alignment flags are ignored in horizontal sizers.
Vertical alignment flags are ignored in vertical sizers.
- I still have a problem not solved
with wxSlider. Only the values min, max and actual of ParticleDensity slider are shown in data settings windows where no particle data is and slider, checkbox and text is therefore correctly hidden. Seems to be a bug of wxWidgets and I have to dynamically change the flags of wxSlider to suppress the shown value text.