In my c++ code, wxMessageBox opens twice, though, I call it just once:
Code: Select all
void CameraStreamFrame::OnClose(wxCloseEvent& event)
{
setgetClosing(true, true); //Closes a thread
wxMessageBox("Close", "Goodbye"); //Is called twice
event.Skip(true);
}
I couldn't figure out, what is wrong with my code.
Probably you can help me
Thanks
ChopStick