My issue is that the second time I create a new button the program seg faults. Creating one button is not a problem but creating the second is, and so far I've been unable to figure out why that is. As you can see the Button constructor doesn't actually do anything (I removed what it did trying to figure this out), and neither does Button's destructor.
I'd post more code but being that I'm not actually using any of it to create the problem it seems irrelevant - but if you need to see more of something let me know.
which wasn't initializing _txtImg, _justify or _line_number. I see how that can result in error, but I'm not real sure why it would be acceptable for instantiating just one Button but not a second.