From 34670bdafe98c9172a02a9eac357d851bc407c6b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 19 Apr 2012 16:14:18 +0000 Subject: [PATCH] Fix for wxUniv/GTK compilation. wxWindowBase needs to be explicitly cast to wxWindow in wxUniv/GTK build but this wasn't done in the changes of r70597. Cloes #14235. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 3d0cf28dce..7ff47a7941 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1166,7 +1166,7 @@ wxWindowGTK *FindWindowForMouseEvent(wxWindowGTK *win, wxCoord& x, wxCoord& y) wxWindowList::compatibility_iterator node = win->GetChildren().GetFirst(); while (node) { - wxWindowGTK *child = node->GetData(); + wxWindow* child = static_cast(node->GetData()); node = node->GetNext(); if (!child->IsShown()) -- 2.45.2