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; }