From 0fc5413974d3c3e48b0b2827123360d4c5838db2 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 25 Feb 2019 23:53:51 -0800 Subject: [PATCH] Call static functions directly --- src/unix/fswatcher_inotify.cpp | 2 +- src/unix/fswatcher_kqueue.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/fswatcher_inotify.cpp b/src/unix/fswatcher_inotify.cpp index a5be172e5e..9f999ccfe6 100644 --- a/src/unix/fswatcher_inotify.cpp +++ b/src/unix/fswatcher_inotify.cpp @@ -75,7 +75,7 @@ public: return false; } - m_source = loop->AddSourceForFD + m_source = wxEventLoopBase::AddSourceForFD ( m_ifd, m_handler, diff --git a/src/unix/fswatcher_kqueue.cpp b/src/unix/fswatcher_kqueue.cpp index e0118956ca..0c5ffea93a 100644 --- a/src/unix/fswatcher_kqueue.cpp +++ b/src/unix/fswatcher_kqueue.cpp @@ -114,7 +114,7 @@ public: } // create source - m_source = loop->AddSourceForFD(m_kfd, m_handler, wxEVENT_SOURCE_INPUT); + m_source = wxEventLoopBase::AddSourceForFD(m_kfd, m_handler, wxEVENT_SOURCE_INPUT); return m_source != NULL; }