From: <d.m...@qu...> - 2006-07-18 02:32:32
|
Hi, I have made a small fix for the reshaping callback in vgui_mfc_adaptor.cxx. It seems that currently vgui_RESHAPE is not being dispatched to the tableaux to be processed by the handle methods. In the method "void vgui_mfc_adaptor::OnSize(UINT nType, int cx, int cy)" by adding dispatch_to_tableau(vgui_event(vgui_RESHAPE)); just before the post_redraw(), so the last two lines of this method read, dispatch_to_tableau(vgui_event(vgui_RESHAPE)); post_redraw(); the reshaping event is properly dispatched and consequently sent to handle methods. (THIS IS A REPOST) If someone could please fix this on the CVS version, it will make house keeping a little easier! David McKinnon... |