When you put a spacer into a sizer slot in the design window you will be prompt for the size; wxGlade will generate the code to set a empty space in that slot of the sizer.