Thanks for the quick solution. I didn't use .RC files, only .RES files, since I am embedding in FreePascal, so, this solution skipped my mind.
Thanks again. Anyway, a fix in the resource editor is much appreciated.
Just tried it... I can confirm the bug.
In the mean time you can close the resource editor and then right click on the .rc file in the project pain and select open as text ... then you can simply delete the line with the classname on it and save the file.