Skip to content

Fix the declaration of the MainWindowHook function in TB2Toolbar.pas #116

@zedxxx

Description

@zedxxx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions