A Form within a DLL. For a TPopupMenu i let the IDE designer create an event handler for "OnDrawItem".
Compiler complains:
MyDockingforms.pas(477,33) Error: function header doesn't match any method of this class "PopupMenu1DrawItem(TObject;TCanvas;TRect;TOwnerDrawState);"
MyDockingforms.pas(67,15) Error: Found declaration: PopupMenu1DrawItem(TObject;TCanvas;TRect;TOwnerDrawState);
Tried in a new project / application ..... there's no problem.
What might cause this? (I suspected the order of units in the uses clause, but it appears for me it's not dependent on this)
I'd be pretty sure that somebody encountered something similar elsewhere ...