]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/evtloop.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / gtk / evtloop.cpp
index 58e5a4f478cd3f591a7376e94f60c68aa39d0ddb..a35be35ab07617dcf738d3ef060a10686cef7877 100644 (file)
@@ -95,6 +95,8 @@ static gboolean wx_on_channel_event(GIOChannel *channel,
                                     GIOCondition condition,
                                     gpointer data)
 {
+    wxUnusedVar(channel); // Unused if !wxUSE_LOG || !wxDEBUG_LEVEL
+
     wxLogTrace(wxTRACE_EVT_SOURCE,
                "wx_on_channel_event, fd=%d, condition=%08x",
                g_io_channel_unix_get_fd(channel), condition);