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:
parent
6655c15632
commit
b3a1545d5f
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user