X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fapplication%2Fwindow_classist.h;fp=nucleus%2Flibrary%2Fapplication%2Fwindow_classist.h;h=67f7b7d6ba175fc17999ea80cf858e43fdbb85a8;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=5b9a1ccb727515b4d28f1a15bbe85a624628dab1;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/nucleus/library/application/window_classist.h b/nucleus/library/application/window_classist.h index 5b9a1ccb..67f7b7d6 100644 --- a/nucleus/library/application/window_classist.h +++ b/nucleus/library/application/window_classist.h @@ -60,7 +60,7 @@ namespace application { // this is a placeholder implementation for other platforms. window_handle create_simplistic_window(const basis::astring &formal(window_title), - const basis::astring &formal(class_name)) { return NIL; } + const basis::astring &formal(class_name)) { return NULL_POINTER; } void whack_simplistic_window(window_handle formal(f_window)) {} #else @@ -127,7 +127,7 @@ window_handle create_simplistic_window(const basis::astring &window_title, register_class(class_name); window_handle f_window = CreateWindow(basis::to_unicode_temp(class_name), basis::to_unicode_temp(window_title), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, - 0, CW_USEDEFAULT, 0, NIL, NIL, GET_INSTANCE_HANDLE(), NIL); + 0, CW_USEDEFAULT, 0, NULL_POINTER, NULL_POINTER, GET_INSTANCE_HANDLE(), NULL_POINTER); ShowWindow(f_window, SW_HIDE); UpdateWindow(f_window); return f_window; @@ -135,7 +135,7 @@ window_handle create_simplistic_window(const basis::astring &window_title, void whack_simplistic_window(window_handle f_window) { - SendMessage(f_window, WM_CLOSE, NIL, NIL); + SendMessage(f_window, WM_CLOSE, NULL_POINTER, NULL_POINTER); //hmmm: is this enough? }