Menu

#157 Setting min larger than max causes crash

v1.0_(example)
closed-fixed
nobody
crash (2)
5
2015-10-01
2015-05-22
David Vereb
No

Setting a min larger than the max in a wxSpinCtrl causes a crash.

I wanted to change the defaults (min 0, max 10) to (min 1025, max 65535). I changed min first and crashed the program. I'd assume it should at least give a popup telling you the values are bad.

To recreate:
1. New Project
2. Add Frame
3. Add Sizer
4. Add wxSpinCtrl
5. Change min to anything above the default max of 10

Running on Ubuntu 12.04 using wxFormBuilder Version 3.1.59-beta (Unicode). I'd assume this might cause crashes elsewhere in the program where there are min/max values.

Discussion

  • Michal Bližňák

    Fixed in wxFB 3.05.02 (RC2).

     
  • Michal Bližňák

    • status: open --> closed-fixed