]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mfc/mfctest.cpp
fixed wxXmlResource::Load's detection of filenames to be done as early as possible
[wxWidgets.git] / samples / mfc / mfctest.cpp
index 245feb580c346da79a28be26dfe850b96a6fff5a..a4102648a94a6febd46df3f220b228f6d33fb0bc 100644 (file)
@@ -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 *>(wxEventLoop::GetActive());
     if ( evtLoop && evtLoop->PreProcessMessage(msg) )
         return TRUE;