I want to put two buttons on a bitmap,you can't see these two buttons, but when you click the rect of them ,they will response your clicks.
On my dialog,I put two buttons and a wxstaticbitmap,I select bring it to front,but my two buttons still can't response to my clicks.
It sounds like a wxWidgets question to me. You better ask at the wxWidgets forum. We only support Code::Blocks specific questions here.