From b3a1545d5fb56607d685a92022e1a9320cd15bd0 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 25 May 2004 10:23:28 +0000 Subject: [PATCH] Added missing cast for Display* git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/utilsx11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index 1f62bea9e9..8d400126c6 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -765,7 +765,7 @@ KeySym wxCharCodeWXToX(int id) bool wxGetKeyState(wxKeyCode key) { #if defined(__WXX11__) - Display *pDisplay = wxApp::GetDisplay(); + Display *pDisplay = (Display*) wxApp::GetDisplay(); #elif defined(__WXGTK__) Display *pDisplay = GDK_DISPLAY(); #elif defined(__WXMOTIF__) -- 2.45.2