X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..c838b68e832831f6032fc5ad57f5d0ba9aba7b8c:/wxPython/contrib/iewin/wxactivex.cpp?ds=sidebyside

diff --git a/wxPython/contrib/iewin/wxactivex.cpp b/wxPython/contrib/iewin/wxactivex.cpp
index 34fd2b1e2f..a77919344f 100644
--- a/wxPython/contrib/iewin/wxactivex.cpp
+++ b/wxPython/contrib/iewin/wxactivex.cpp
@@ -985,7 +985,7 @@ void wxActiveX::OnSize(wxSizeEvent& event)
 
 void wxActiveX::OnPaint(wxPaintEvent& event)
 {
-	wxLogTrace(wxT("repainting activex win"));
+//	wxLogTrace(wxT("repainting activex win"));
 	wxPaintDC dc(this);
 	dc.BeginDrawing();
 	int w, h;
@@ -1020,12 +1020,12 @@ void wxActiveX::OnMouse(wxMouseEvent& event)
 {
 	if (m_oleObjectHWND == NULL)
     {
-        wxLogTrace(wxT("no oleInPlaceObject"));
+//        wxLogTrace(wxT("no oleInPlaceObject"));
         event.Skip();
         return;
     }
 
-	wxLogTrace(wxT("mouse event"));
+//	wxLogTrace(wxT("mouse event"));
 	UINT msg = 0;
 	WPARAM wParam = 0;
 	LPARAM lParam = 0;
@@ -1068,21 +1068,21 @@ void wxActiveX::OnMouse(wxMouseEvent& event)
 	wxString log;
 	if (msg == 0)
     {
-        wxLogTrace(wxT("no message"));
+//        wxLogTrace(wxT("no message"));
         event.Skip(); return;
     };
 
 	if (!::SendMessage(m_oleObjectHWND, msg, wParam, lParam))
     {
-        wxLogTrace(wxT("msg not delivered"));
+//        wxLogTrace(wxT("msg not delivered"));
         event.Skip();
         return;
     };
 
-	wxLogTrace(wxT("msg sent"));
+//	wxLogTrace(wxT("msg sent"));
 }
 
-long wxActiveX::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
+WXLRESULT wxActiveX::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
 {
 	if (m_oleObjectHWND == NULL)
         return wxWindow::MSWWindowProc(nMsg, wParam, lParam);