Fixes for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -634,6 +634,9 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
|
|||||||
return wxGenericFindWindowAtPoint(pt);
|
return wxGenericFindWindowAtPoint(pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Now in utilsx11.cpp
|
||||||
|
#if 0
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// keycode translations
|
// keycode translations
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -876,6 +879,7 @@ KeySym wxCharCodeWXToX(int id)
|
|||||||
|
|
||||||
return keySym;
|
return keySym;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Some colour manipulation routines
|
// Some colour manipulation routines
|
||||||
|
@@ -768,6 +768,8 @@ bool wxGetKeyState(wxKeyCode key)
|
|||||||
Display *pDisplay = wxApp::GetDisplay();
|
Display *pDisplay = wxApp::GetDisplay();
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
Display *pDisplay = GDK_DISPLAY();
|
Display *pDisplay = GDK_DISPLAY();
|
||||||
|
#elif defined(__WXMOTIF__)
|
||||||
|
Display *pDisplay = (Display*) (wxTheApp ? wxTheApp->GetInitialDisplay() : NULL);
|
||||||
#else
|
#else
|
||||||
#error Add code to get the DISPLAY for this platform
|
#error Add code to get the DISPLAY for this platform
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user