Expose proper capture closing function to python extensions

This commit is contained in:
baldurk
2026-08-28 15:46:23 +01:00
parent 6237238cf7
commit 81bec684a3
4 changed files with 16 additions and 2 deletions
@@ -797,6 +797,7 @@ struct IMainWindowInvoker : UIThreadInvoker<IMainWindow>
return InvokeVoidFunction(&IMainWindow::UnregisterShortcut, shortcut, widget);
}
void BringToFront() { return InvokeVoidFunction(&IMainWindow::BringToFront); }
bool PromptCloseCapture() { return InvokeRetFunction<bool>(&IMainWindow::PromptCloseCapture); }
};
struct IEventBrowserInvoker : UIThreadInvoker<IEventBrowser>