Revision: 7451
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7451&view=rev
Author:   vadz
Date:     2008-05-02 15:02:08 -0700 (Fri, 02 May 2008)

Log Message:
-----------
override wxIPCConnection::OnExec() instead of OnExecute() with wx 2.9, 
otherwise IPC requests to us fail

Modified Paths:
--------------
    trunk/M/src/gui/wxMApp.cpp

Modified: trunk/M/src/gui/wxMApp.cpp
===================================================================
--- trunk/M/src/gui/wxMApp.cpp  2008-05-02 02:20:13 UTC (rev 7450)
+++ trunk/M/src/gui/wxMApp.cpp  2008-05-02 22:02:08 UTC (rev 7451)
@@ -2578,10 +2578,15 @@
    {
    }
 
+#if wxCHECK_VERSION(2, 9, 0)
+   virtual bool OnExec(const wxString& WXUNUSED(topic),
+                       const wxString& data)
+#else // wx < 2.9
    virtual bool OnExecute(const wxString& WXUNUSED(topic),
-                          wxChar *data,
+                          char *data,
                           int WXUNUSED(size),
                           wxIPCFormat WXUNUSED(format))
+#endif
    {
       return wxGetApp().OnRemoteRequest(data);
    }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to