There for, I written a plugin named "Auto Readonly".I am testing it currently... Nice idea! :-)
bool IsActiveEdtiorReadonly()
{
IsEditorReadonly(GetActiveEditor());
}
bool IsActiveEdtiorReadonly()
{
return IsEditorReadonly(GetActiveEditor());
}
From a quick-look I saw that you probably missed a "return" statement in ReadonlyAbleTool.cpp ...
I will try it under Linux.to Mario: Thank you for your help, Can it work well under Linux ? (If it can't , I guess you have make it can now ) :P
This is probably because you linked the plug-in with a wxWidgets DLL built by yourself. When you install the plug-in with a nightly build or an official release of C:B it won't work.
If this is the case just link the plug-in with the wxWidgets DLL provided with the nightly (or the release). You can do that adding the DLL in the list of libraries for LD linker.
Also check that you are building the plug-in with the same SDK version used by the C:B you are then testing it with.
Regards, XayC
thank you . the dll files what you mean is :
wxmsw28u_gcc_cb.dll
wxmsw28u_media_gcc_custom.dll
where in the CodeBlocks folder?
thank you . the dll files what you mean is :
wxmsw28u_gcc_cb.dll
wxmsw28u_media_gcc_custom.dll
where in the CodeBlocks folder?
for wxmsw28u_gcc_cb.dll see
http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build