[ wxwindows-Bugs-1729676 ] IPC documentation fault

SourceForge.net noreply at sourceforge.net
Fri Jun 1 13:29:27 PDT 2007


Bugs item #1729676, was opened at 2007-06-01 22:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1729676&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Renaud.S (renaud_s)
Assigned to: Nobody/Anonymous (nobody)
Summary: IPC documentation fault

Initial Comment:
In the documentation, the declaration of wxConnection::OnAdvise and derived versions, is wrong.

In doc:
virtual bool OnAdvise(const wxString& topic, const wxString& item, char* data, int size, wxIPCFormat format)

In ipcbase.h:
virtual bool OnAdvise(const wxString& topic, const wxString& item, wxChar *data, int size, wxIPCFormat format)

So char* data is incorrect and should be wxChar *data.

The consequence is that the OnAdvise in custom derived object, is never called because the declaration is different.

The following pages should be modified:
- Interprocess communication overview (sample at the bottom of the page)
- wxConnection
- wxTCPConnection
- wxDDEConnection

Thank you very much for your fantastic work !!!

Regards

Renaud

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1729676&group_id=9863




More information about the wx-dev mailing list