From e706a5fd387b7ece88f8cf2ccef7583dfa9f02a7 Mon Sep 17 00:00:00 2001 From: Wizzup? Date: Wed, 9 Sep 2009 22:11:50 +0000 Subject: [PATCH] Fix for 64 bit. git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@35 3f818213-9676-44b0-a9b4-5e4c4e03d09d --- Projects/SAMufasaGUI/project1.lpi | 92 +++++++++++++++++-------------- Units/MMLCore/input.pas | 4 +- 2 files changed, 52 insertions(+), 44 deletions(-) diff --git a/Projects/SAMufasaGUI/project1.lpi b/Projects/SAMufasaGUI/project1.lpi index 2942796..8d8dfcd 100644 --- a/Projects/SAMufasaGUI/project1.lpi +++ b/Projects/SAMufasaGUI/project1.lpi @@ -319,9 +319,7 @@ - - @@ -355,9 +353,7 @@ - - @@ -371,8 +367,8 @@ - - + + @@ -382,7 +378,7 @@ - + @@ -395,99 +391,111 @@ - + - - - - + + + + - + - + - - - - - - + + + + + + - + - + - - + + - + - - - - - - + + + + + + - + - + - - + + - + - + - + - - + + - + - + + + + + + + + + + + + + diff --git a/Units/MMLCore/input.pas b/Units/MMLCore/input.pas index d37052f..213c159 100644 --- a/Units/MMLCore/input.pas +++ b/Units/MMLCore/input.pas @@ -199,8 +199,8 @@ begin mouse_Right: Event.xbutton.button:= Button3; end; - event.xbutton.send_event := 1; - event.xbutton.same_screen:= 1; + event.xbutton.send_event := True; + event.xbutton.same_screen:= True; event.xbutton.subwindow:= 0; // this can't be right. event.xbutton.root := TClient(Client).MWindow.DesktopWindow; event.xbutton.window := TClient(Client).MWindow.CurWindow;