]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckipc.h
fix from Francesco for the latest version of wxPresets
[wxWidgets.git] / include / wx / sckipc.h
index 70ea564b785600af57c78dd77de6d74d65a03fb6..6611cc85930ac12f854f72ae8acdfdc3e4df96fd 100644 (file)
@@ -82,8 +82,10 @@ public:
   void Compress(bool on);
 
   // unhide the Execute overload from wxConnectionBase
+  // FIXME-UTF8: change Execute() to DoExecute() to avoid having to do this;
+  //             don't use c_str() below after removing ANSI build
   virtual bool Execute(const wxString& str)
-    { return Execute(str, -1, wxIPC_TEXT); }
+    { return Execute(str.c_str(), -1, wxIPC_TEXT); }
 
 protected:
   wxSocketBase       *m_sock;