If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
I'm working on a way to send messages between two modules of my application.
I was thinking on doing two thread:
on one side, one is writing the message
on another one, it is reading, to keep the things independant.
WIch object could I used to be written/red by the two thread in a secure way ?
does wx provide a sort of "queue" ?
I have to admit that I didn't try it, but couldn't you just derive your receiving thread from wxEvtHandler, then push it via wxWindow::PushEventHandler() and simply use the already existing message queue (via PostEvent())?