Added missing cast for Display*

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-05-25 10:23:28 +00:00
parent 6655c15632
commit b3a1545d5f

View File

@@ -765,7 +765,7 @@ KeySym wxCharCodeWXToX(int id)
bool wxGetKeyState(wxKeyCode key) bool wxGetKeyState(wxKeyCode key)
{ {
#if defined(__WXX11__) #if defined(__WXX11__)
Display *pDisplay = wxApp::GetDisplay(); Display *pDisplay = (Display*) wxApp::GetDisplay();
#elif defined(__WXGTK__) #elif defined(__WXGTK__)
Display *pDisplay = GDK_DISPLAY(); Display *pDisplay = GDK_DISPLAY();
#elif defined(__WXMOTIF__) #elif defined(__WXMOTIF__)