X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b746ba80548673d8f9bfed0ea4b1ed45c971ed1..e29b83a455bead3dae44300f631d07aa9635d3e9:/src/common/event.cpp?ds=inline diff --git a/src/common/event.cpp b/src/common/event.cpp index d367b21ec5..79580ae5c1 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -395,7 +395,11 @@ bool wxEvtHandler::SearchEventTable(wxEventTable& table, wxEvent& event) // BC++ doesn't like while (table.entries[i].m_fn) +#ifdef __SC__ + while (table.entries[i].m_fn != 0) +#else while (table.entries[i].m_fn != 0L) +#endif { if ((event.GetEventType() == table.entries[i].m_eventType) && (table.entries[i].m_id == -1 || // Match, if event spec says any id will do (id == -1)