diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-11 23:14:33 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-11 23:14:33 +0200 |
commit | 6bcd75ef3fb6786955938019c1eb8a6950e3063e (patch) | |
tree | 153a58f1d2de6370e4c3cd9679da62b86853a688 /c/win.h | |
parent | b159ee4f5caa71a85a9ebfa8ee9558a7fcbb8929 (diff) | |
download | EpisodeBrowser-6bcd75ef3fb6786955938019c1eb8a6950e3063e.tar.gz |
EBMessageBox: Take wstring_view instead of wchar_t*.
Diffstat (limited to 'c/win.h')
-rw-r--r-- | c/win.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ /* Run given procedure at creation of next window. */ void WithNextWindow(void (*proc)(HWND)); /* Display message box centered in main window. */ -int EBMessageBox(const wchar_t* wszText, const wchar_t* wszCaption, UINT uType); +int EBMessageBox(std::wstring_view text, std::wstring_view data, UINT uType); /* Retrieve mouse position relative to given window's client area. */ int GetRelativeCursorPos(HWND hWnd, POINT* pt) noexcept; /* Cached values from GetSystemMetrics. */ |