change wxSocketInputBasedManager::AddInput() to take a pointer to wxSocketImpl, not base class wxFDIOHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,7 +23,7 @@ extern "C" {
|
||||
static void wxSocket_Motif_Input(XtPointer data, int *WXUNUSED(fid),
|
||||
XtInputId *WXUNUSED(id))
|
||||
{
|
||||
wxFDIOHandler * const handler = static_cast<wxFDIOHandler *>(data);
|
||||
wxSocketImpl * const handler = static_cast<wxSocketImpl *>(data);
|
||||
|
||||
handler->OnReadWaiting();
|
||||
}
|
||||
@@ -31,7 +31,7 @@ static void wxSocket_Motif_Input(XtPointer data, int *WXUNUSED(fid),
|
||||
static void wxSocket_Motif_Output(XtPointer data, int *WXUNUSED(fid),
|
||||
XtInputId *WXUNUSED(id))
|
||||
{
|
||||
wxFDIOHandler * const handler = static_cast<wxFDIOHandler *>(data);
|
||||
wxSocketImpl * const handler = static_cast<wxSocketImpl *>(data);
|
||||
|
||||
handler->OnWriteWaiting();
|
||||
}
|
||||
@@ -41,7 +41,7 @@ static void wxSocket_Motif_Output(XtPointer data, int *WXUNUSED(fid),
|
||||
class MotifSocketManager : public wxSocketInputBasedManager
|
||||
{
|
||||
public:
|
||||
virtual int AddInput(wxFDIOHandler *handler, int fd, SocketDir d)
|
||||
virtual int AddInput(wxSocketImpl *handler, int fd, SocketDir d)
|
||||
{
|
||||
return XtAppAddInput
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user