Sizers control layout of a window's children. Windows have a screen presence and manage events. You needs to base your class on wxControl or wxPanel. I couldn't find the difference between the two in practical terms when I was faced with the same question.