mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 20:07:25 +01:00
fixed gtk2 on windows. now it is somewhat usable
git-svn-id: trunk@10963 -
This commit is contained in:
parent
cb772e1198
commit
583e16ce0a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user