1
0
mirror of https://github.com/Relintai/sdl2_frt.git synced 2024-12-20 22:16:49 +01:00

haiku: Patched to compile.

This commit is contained in:
Ryan C. Gordon 2016-09-29 23:15:56 -04:00
parent f2fcd324c5
commit f10db4071d

View File

@ -578,9 +578,9 @@ private:
return; return;
} }
if (bEnabled) { if (bEnabled) {
SetFlags(GetFlags() & ~(B_NOT_RESIZABLE | B_NOT_ZOOMABLE)); SetFlags(Flags() & ~(B_NOT_RESIZABLE | B_NOT_ZOOMABLE));
} else { } else {
SetFlags(GetFlags() | (B_NOT_RESIZABLE | B_NOT_ZOOMABLE)); SetFlags(Flags() | (B_NOT_RESIZABLE | B_NOT_ZOOMABLE));
} }
} }