sptbxlib
sptbxlib copied to clipboard
Fix the declaration of the MainWindowHook function in TB2Toolbar.pas
Now the function is declared as:
TTBCustomToolbar = class(TTBCustomDockableWindow, ITBItems)
private
...
class function MainWindowHook(var Message: TMessage): Boolean; {$IFDEF CLR} static; {$ENDIF}
Proper declaration must be: function MainWindowHook(var Message: TMessage): Boolean;
See the documentation: TWindowHook