]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing cast for Display*
authorJulian Smart <julian@anthemion.co.uk>
Tue, 25 May 2004 10:23:28 +0000 (10:23 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 25 May 2004 10:23:28 +0000 (10:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsx11.cpp

index 1f62bea9e969a8c87675dce91cbc428029dd4aea..8d400126c660603c0a30818813df572f6cd44387 100644 (file)
@@ -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__)