sptbxlib icon indicating copy to clipboard operation
sptbxlib copied to clipboard

Fix the declaration of the MainWindowHook function in TB2Toolbar.pas

Open zedxxx opened this issue 1 year ago • 0 comments

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

zedxxx avatar Feb 27 '24 11:02 zedxxx