Added and corrected a few more html makefiles,
Corrected wrong buffer size in menu code,
Turned wxDirDlgg from functional to cool,
Found a few esoteric bugs in wxListCtrl and
wxTreeCtrl on the way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -224,7 +224,7 @@ void wxMenuBar::Append( wxMenu *menu, const wxString &title )
|
||||
wxString buf;
|
||||
buf << _T('/') << str.c_str();
|
||||
|
||||
char *cbuf = new char[buf.Length()];
|
||||
char *cbuf = new char[buf.Length()+1];
|
||||
strcpy(cbuf, buf.mbc_str());
|
||||
|
||||
GtkItemFactoryEntry entry;
|
||||
|
||||
Reference in New Issue
Block a user