]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/control.h
fixed compilation if wxUSE_STL=1
[wxWidgets.git] / include / wx / univ / control.h
index bd34f2eb761b9212859a0aa98e3b292bb6efa919..3a0217dfed94b865bff1e0b0e5cefaf26e734d78 100644 (file)
@@ -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; }