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.
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 »

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: 19163
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Sockets issues - Client

Post by doublemax »

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!