fixed gtk2 on windows. now it is somewhat usable

git-svn-id: trunk@10963 -
This commit is contained in:
andrew 2007-04-17 21:07:20 +00:00
parent cb772e1198
commit 583e16ce0a

View File

@ -152,7 +152,7 @@ begin
if TObject(Data) is TCustomForm then begin
TheForm:=TCustomForm(Data);
if TheForm.Parent=nil then begin
TheWindow:=GetControlWindow(Widget);
TheWindow:=gtk_widget_get_toplevel(Widget)^.window;
//apart from none and sizeable, this will
//only work if WM supports motif flags