aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_win.c b/pugl/pugl_win.c
index e47916c..747a1f4 100644
--- a/pugl/pugl_win.c
+++ b/pugl/pugl_win.c
@@ -177,7 +177,7 @@ puglWinError(PuglFakeWindow* fakeWin, const int status)
}
static unsigned
-getWindowFlags(PuglView* view)
+getWindowFlags(const PuglView* view)
{
return (WS_CLIPCHILDREN | WS_CLIPSIBLINGS |
(view->parent
@@ -187,7 +187,7 @@ getWindowFlags(PuglView* view)
}
static unsigned
-getWindowExFlags(PuglView* view)
+getWindowExFlags(const PuglView* view)
{
return WS_EX_NOINHERITLAYOUT | (view->parent ? 0u : WS_EX_APPWINDOW);
}