From d8b48f4de94e72daa0d5ddf9d2641db82d294280 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 19 Mar 2007 01:21:07 +0000 Subject: [PATCH] compilation fix after wxUniChar changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/univ/control.h b/include/wx/univ/control.h index bd34f2eb76..3a0217dfed 100644 --- a/include/wx/univ/control.h +++ b/include/wx/univ/control.h @@ -80,7 +80,7 @@ public: // return the accel char itself or 0 if none wxChar GetAccelChar() const { - return m_indexAccel == -1 ? _T('\0') : m_label[m_indexAccel]; + return m_indexAccel == -1 ? _T('\0') : (wxChar)m_label[m_indexAccel]; } virtual wxWindow *GetInputWindow() const { return (wxWindow*)this; } -- 2.50.0