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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates