Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
Submenu cann't expand by Script function RegisterPlugin()
(1/1)
Chun Jiu:
It is always only display the first submenu ...
windows 7 64bit
C::B svn 10320 x64 with wxWidgets 2.8.12
TDM-GCC-64
---------------------------------------
class TestPlugin extends cbScriptPlugin {
// mandatory to setup the plugin's info
constructor() {
info.name = _T("EasilyGCC");
info.title = _T("Target Setup");
info.version = _T("0.1a");
info.license = _T("GPL");
}
// optional to create menubar items
function GetMenu() {
local entries = ::wxArrayString();
entries.Add(_T("Project/EasilyGCC/EasilyGCC0"), 1);
entries.Add(_T("Project/EasilyGCC/EasilyGCC1/Arch1"), 1);
entries.Add(_T("Project/EasilyGCC/EasilyGCC1/Arch2"), 1);
entries.Add(_T("Project/EasilyGCC/EasilyGCC1/Arch3"), 1);
entries.Add(_T("Project/EasilyGCC/EasilyGCC2"), 1);
entries.Add(_T("Project/EasilyGCC/EasilyGCC3"), 1);
return entries;
}
}
RegisterPlugin(TestPlugin());
ollydbg:
This bug should be fixed in SVN trunk by OBF, see: [r10322].
Chun Jiu:
--- Quote from: ollydbg on June 05, 2015, 04:43:05 pm ---This bug should be fixed in SVN trunk by OBF, see: [r10322].
--- End quote ---
Thank you very much, it is now normal work.
Navigation
[0] Message Index
Go to full version