From: Jouk Jansen Date: Tue, 24 Aug 2010 11:23:22 +0000 (+0000) Subject: wxKeysym problem for wxMOTIF fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/590e3264721f69bab96737e17688942524c06caa?ds=inline wxKeysym problem for wxMOTIF fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unix/utilsx11.h b/include/wx/unix/utilsx11.h index 11bb7b7b9e..cf6e1dddd1 100644 --- a/include/wx/unix/utilsx11.h +++ b/include/wx/unix/utilsx11.h @@ -26,8 +26,8 @@ #if defined(__WXGTK__) typedef void WXDisplay; typedef void* WXWindow; -typedef unsigned long WXKeySym; #endif +typedef unsigned long WXKeySym; int wxCharCodeXToWX(WXKeySym keySym); WXKeySym wxCharCodeWXToX(int id); diff --git a/src/motif/window.cpp b/src/motif/window.cpp index aca5e608d3..c539b36fba 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -35,6 +35,7 @@ #include "wx/layout.h" #include "wx/menuitem.h" #include "wx/module.h" + #include "wx/unix/utilsx11.h" #endif #include "wx/evtloop.h"