X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dde19c2180ef8d6415af7bb2492bfcb0a2d5c7e4..345ff9c65b3ef17709785708b224dfcbf5135583:/src/motif/evtloop.cpp diff --git a/src/motif/evtloop.cpp b/src/motif/evtloop.cpp index cd7800a380..7fd2475e66 100644 --- a/src/motif/evtloop.cpp +++ b/src/motif/evtloop.cpp @@ -99,13 +99,13 @@ bool wxEventLoopImpl::SendIdleMessage() wxGUIEventLoop::~wxGUIEventLoop() { - wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") ); + wxASSERT_MSG( !m_impl, wxT("should have been deleted in Run()") ); } int wxGUIEventLoop::Run() { // event loops are not recursive, you need to create another loop! - wxCHECK_MSG( !IsRunning(), -1, _T("can't reenter a message loop") ); + wxCHECK_MSG( !IsRunning(), -1, wxT("can't reenter a message loop") ); wxEventLoopActivator activate(this); @@ -129,7 +129,7 @@ int wxGUIEventLoop::Run() void wxGUIEventLoop::Exit(int rc) { - wxCHECK_RET( IsRunning(), _T("can't call Exit() if not running") ); + wxCHECK_RET( IsRunning(), wxT("can't call Exit() if not running") ); m_impl->SetExitCode(rc); m_impl->SetKeepGoing( false ); @@ -137,7 +137,7 @@ void wxGUIEventLoop::Exit(int rc) ::wxBreakDispatch(); } -bool wxGUIEventLoop::YieldFor(ong eventsToProcess) +bool wxGUIEventLoop::YieldFor(long eventsToProcess) { m_isInsideYield = true; m_eventsToProcessInsideYield = eventsToProcess;