X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1223c8d5517b34b69e30c9825911a0b4297b308..48889bca6f8b2504f78c0f47b32f5e95c64d915d:/samples/mfc/mfctest.cpp diff --git a/samples/mfc/mfctest.cpp b/samples/mfc/mfctest.cpp index 245feb580c..a4102648a9 100644 --- a/samples/mfc/mfctest.cpp +++ b/samples/mfc/mfctest.cpp @@ -228,7 +228,7 @@ int CTheApp::ExitInstance() BOOL CTheApp::PreTranslateMessage(MSG *msg) { wxEventLoop * const - evtLoop = wx_static_cast(wxEventLoop *, wxEventLoop::GetActive()); + evtLoop = static_cast(wxEventLoop::GetActive()); if ( evtLoop && evtLoop->PreProcessMessage(msg) ) return TRUE;