git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@98 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-01 06:44:44 +00:00
parent ed943ee572
commit 5855f9548f
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ struct _MwLL {
HWND hWnd;
HDC hDC;
void* user;
int copy_buffer;
int copy_buffer;
MwLLHandler handler;
};

View File

@@ -82,8 +82,7 @@ MwLL MwLLCreate(MwLL parent, int x, int y, int width, int height) {
RegisterClassEx(&wc);
r->copy_buffer = 1;
r->hWnd = CreateWindow(parent == NULL ? "milsko" : "STATIC", "Milsko", parent == NULL ? (WS_OVERLAPPEDWINDOW) : (WS_CHILD | WS_VISIBLE), x, y, width, height, parent == NULL ? NULL : parent->hWnd, 0, wc.hInstance, NULL);
r->hWnd = CreateWindow(parent == NULL ? "milsko" : "STATIC", "Milsko", parent == NULL ? (WS_OVERLAPPEDWINDOW) : (WS_CHILD | WS_VISIBLE), x, y, width, height, parent == NULL ? NULL : parent->hWnd, 0, wc.hInstance, NULL);
u->ll = r;
if(parent == NULL) {