]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/evtloop.cpp
bracketing msw enhanced metafile usage
[wxWidgets.git] / src / gtk / evtloop.cpp
index 54b216836ac13d2df3cdc0696e4e464e7230fa0a..a35be35ab07617dcf738d3ef060a10686cef7877 100644 (file)
@@ -91,10 +91,12 @@ void wxGUIEventLoop::WakeUp()
 
 extern "C"
 {
-static gboolean wx_on_channel_event(GIOChannel * WXUNUSED_UNLESS_DEBUG(channel),
+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);