I'm writing a kind of Word-pad clone and what I want to do is to update the font and font-style selectors as the textattributes under the cursor position change (e.g you click in the middle of a paragraph with Courier New 12, and the respective comboboxes are updated with the new font data).
It seems to me that the most appropriate way might be to respond to EN_SELCHANGE notification and check if the text-attributes have changed.
However, the problem is how would I respond to this notification if wxWidgets doesn't seem to detect this event? Is there any way to tell the wxWidgets event handling mechanism that I'm interested in this notification? Or is there a way to have a callback function called when this notification occurs (something to do with hooks to monitor the messages send by the text editor)?