X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6655c15632371f272d9d1536ef0e5558e1437c27..5f3565a2fb3d678b03cf8547f37e56b1efe786f5:/src/unix/utilsx11.cpp 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__)