aboutsummaryrefslogtreecommitdiff
path: root/c/win.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/win.h')
-rw-r--r--c/win.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/win.h b/c/win.h
index 30d3cc5..e9a6839 100644
--- a/c/win.h
+++ b/c/win.h
@@ -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. */