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:
parent
1b0f5e5864
commit
6655c15632
@ -634,6 +634,9 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
|
||||
return wxGenericFindWindowAtPoint(pt);
|
||||
}
|
||||
|
||||
// Now in utilsx11.cpp
|
||||
#if 0
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// keycode translations
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -876,6 +879,7 @@ KeySym wxCharCodeWXToX(int id)
|
||||
|
||||
return keySym;
|
||||
}
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Some colour manipulation routines
|
||||
|
@ -768,6 +768,8 @@ bool wxGetKeyState(wxKeyCode key)
|
||||
Display *pDisplay = wxApp::GetDisplay();
|
||||
#elif defined(__WXGTK__)
|
||||
Display *pDisplay = GDK_DISPLAY();
|
||||
#elif defined(__WXMOTIF__)
|
||||
Display *pDisplay = (Display*) (wxTheApp ? wxTheApp->GetInitialDisplay() : NULL);
|
||||
#else
|
||||
#error Add code to get the DISPLAY for this platform
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user