[M-CVS] CVS: M/include/gui wxMApp.h,1.74,1.75
Status: Beta
Brought to you by:
vadz
From: Vadim Z. <va...@us...> - 2006-09-18 23:47:33
|
Update of /cvsroot/mahogany/M/include/gui In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6638/include/gui Modified Files: wxMApp.h Log Message: ignore command and char events received while c-client is locked, this should fix mm_fatal() calls when we try to do something in response to such event called from inside wxProgressDialog::Update() which calls wxYield() Index: wxMApp.h =================================================================== RCS file: /cvsroot/mahogany/M/include/gui/wxMApp.h,v retrieving revision 1.74 retrieving revision 1.75 diff -b -u -2 -r1.74 -r1.75 --- wxMApp.h 9 Apr 2005 15:37:03 -0000 1.74 +++ wxMApp.h 18 Sep 2006 23:47:27 -0000 1.75 @@ -91,11 +91,11 @@ virtual bool OnCmdLineParsed(wxCmdLineParser& parser); - // this function is virtual only in 2.3.0 -#if wxCHECK_VERSION(2, 3, 0) + // stop event processing while c-client is locked to prevent reentrancies + virtual int FilterEvent(wxEvent& event); + // override top level window detection: never return splash frame from here // as it is transient and so is not suitable for use as a parent for the // dialogs (it can disappear before the dialog is closed) virtual wxWindow *GetTopWindow() const; -#endif // 2.3.0 // override wxWindows default icons |