diff options
author | David Robillard <d@drobilla.net> | 2019-08-04 20:19:01 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-03 08:34:39 +0200 |
commit | b0ac6dcb492b68404d800fe8ed0c7393d487fa4b (patch) | |
tree | 41d0050ef6d33bfe9f2186195168e36f8a8b8f3a /pugl/detail/win.h | |
parent | 075c5c5927e511dd03d9608a285ed58ef395120b (diff) | |
download | pugl-b0ac6dcb492b68404d800fe8ed0c7393d487fa4b.tar.gz pugl-b0ac6dcb492b68404d800fe8ed0c7393d487fa4b.tar.bz2 pugl-b0ac6dcb492b68404d800fe8ed0c7393d487fa4b.zip |
Add puglSetClassName()
Diffstat (limited to 'pugl/detail/win.h')
-rw-r--r-- | pugl/detail/win.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/win.h b/pugl/detail/win.h index 8d6ce12..b9e554c 100644 --- a/pugl/detail/win.h +++ b/pugl/detail/win.h @@ -90,7 +90,7 @@ puglWinCreateWindow(const PuglView* const view, HWND* const hwnd, HDC* const hdc) { - const char* className = view->windowClass ? view->windowClass : "Pugl"; + const char* className = (const char*)view->world->className; const unsigned winFlags = puglWinGetWindowFlags(view); const unsigned winExFlags = puglWinGetWindowExFlags(view); |