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