Sockets issues - Client

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
DarthVega7
In need of some credit
In need of some credit
Posts: 7
Joined: Sat Feb 21, 2015 6:29 pm

Sockets issues - Client

Post by DarthVega7 » Wed Apr 22, 2015 5:00 pm

Hi,

I'm trying to follow the steps here:

viewtopic.php?t=2736

I'm getting this error on the client:
error: no 'void wxTCP_Client_TestFrame::OnSocketEvent(wxSocketEvent&)' member function declared in class 'wxTCP_Client_TestFrame'
Thanks,

- DV

User avatar
doublemax
Moderator
Moderator
Posts: 15860
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Sockets issues - Client

Post by doublemax » Wed Apr 22, 2015 7:41 pm

error: no 'void wxTCP_Client_TestFrame::OnSocketEvent(wxSocketEvent&)' member function declared in class 'wxTCP_Client_TestFrame'
The error message seems clear. Did you declare the method with this exact signature in wxTCP_Client_TestFrame? Most likely you just added the method definition to the class in the .cpp file, but not the declaration in the header file.
Use the source, Luke!

Post Reply