Archived
removed backgroundBrush
This commit is contained in:
1 parent
a507472005
commit
68434a2a29
3 files changed
+4
-4
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#include "EzWinAPIBuilders.h"
|
||||
|
||||
WNDCLASSEX EzCreateClass(LPCWSTR name, WNDPROC messageLoop, HINSTANCE instance, LPCWSTR classIcon, LPCWSTR cursor, HBRUSH backgroundBrush) {
|
||||
WNDCLASSEX EzCreateClass(LPCWSTR name, WNDPROC messageLoop, HINSTANCE instance, LPCWSTR classIcon, LPCWSTR cursor) {
|
||||
WNDCLASSEX wc;
|
||||
wc.style = 0;
|
||||
wc.cbSize = sizeof(WNDCLASSEX);
|
||||
@@ -10,7 +10,7 @@ WNDCLASSEX EzCreateClass(LPCWSTR name, WNDPROC messageLoop, HINSTANCE instance,
|
||||
wc.hInstance = instance;
|
||||
wc.hIcon = LoadIcon(NULL, classIcon);
|
||||
wc.hCursor = LoadCursor(NULL, cursor);
|
||||
wc.hbrBackground = backgroundBrush;
|
||||
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW);
|
||||
wc.lpszMenuName = NULL;
|
||||
wc.lpszClassName = name;
|
||||
wc.cbWndExtra = 0;
|
||||
|
||||
Reference in new issue
Block a user