]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/sockmot.cpp
Fix harmless unused parameter warning.
[wxWidgets.git] / src / motif / sockmot.cpp
index 7aaf341d51145d38f15e3e8e5e3fcef87ff1b764..6e347bfe60ee4cc154c7dfd66b03602feb1c8e66 100644 (file)
@@ -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);
+    wxSocketImplUnix * const handler = static_cast<wxSocketImplUnix *>(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);
+    wxSocketImplUnix * const handler = static_cast<wxSocketImplUnix *>(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(wxSocketImplUnix *handler, int fd, SocketDir d)
     {
         return XtAppAddInput
                (