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:
@@ -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__)
|
||||||
|
Reference in New Issue
Block a user