]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menuitem.h
make various control names constants of type char, not wxChar, as this is more compat...
[wxWidgets.git] / include / wx / menuitem.h
index 75b2dcff3d7a44c40b88f52f968d3ce817e1e859..55a6a3172f9296b8875b8638c939c1c55dbd4017 100644 (file)
@@ -175,7 +175,7 @@ inline void wxMenuItemBase::SetName(const wxString &str)
 inline wxString wxMenuItemBase::GetName() const
     { return GetItemLabel(); }
 inline wxString wxMenuItemBase::GetLabel() const
-    { return GetLabelFromText(m_text); }
+    { return GetLabelText(m_text); }
 inline const wxString& wxMenuItemBase::GetText() const { return m_text; }
 inline void wxMenuItemBase::SetText(const wxString& text) { SetItemLabel(text); }
 #endif // WXWIN_COMPATIBILITY_2_8