src/video/bwindow/SDL_BWin.h
changeset 6424 bfaafcf78560
parent 6422 fd0ac1b56115
child 6885 700f1b25f77f
equal deleted inserted replaced
6423:339c0ccf6250 6424:bfaafcf78560
   558     	ResizeTo(w, h);
   558     	ResizeTo(w, h);
   559     }
   559     }
   560 
   560 
   561     void _SetBordered(BMessage *msg) {
   561     void _SetBordered(BMessage *msg) {
   562     	bool bEnabled;
   562     	bool bEnabled;
   563     	if(msg->FindInt32("window-border", &bEnabled) != B_OK) {
   563     	if(msg->FindBool("window-border", &bEnabled) != B_OK) {
   564 			return;
   564 			return;
   565 		}
   565 		}
   566     	SetLook(bEnabled ? B_BORDERED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);
   566     	SetLook(bEnabled ? B_BORDERED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);
   567     }
   567     }
   568 
   568