win32 fix
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-05-02 21:51:51 +09:00
commit d05e121bf1
2 changed files with 15 additions and 5 deletions

View file

@ -1,5 +1,7 @@
#include <Mw/Milsko.h>
#define Shift 16
static void resize(MwWidget handle, void* user, void* client) {
MwWidget f = MwSubWindowGetFrame(handle);
MwVaApply(user,
@ -32,7 +34,7 @@ int main() {
sprintf(buf, "Sub window %d", i);
sw = MwVaCreateWidget(MwSubWindowClass, "swnd", w, i * 32, i * 32, 128, 128,
sw = MwVaCreateWidget(MwSubWindowClass, "swnd", w, i * Shift, i * Shift, 128, 128,
MwNtitle, buf,
NULL);