Explorar o código

Pass in correct handle to ChooseFont

woollybah %!s(int64=9) %!d(string=hai) anos
pai
achega
3b8e15b890
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      win32maxguiex.mod/win32maxguiex.bmx

+ 1 - 1
win32maxguiex.mod/win32maxguiex.bmx

@@ -917,7 +917,7 @@ Type TWindowsFont Extends TGuiFont
 		EndIf
 		
 		Local hwnd:Byte Ptr = GetFocus()
-		Local n = ChooseFontW_(cf)
+		Local n = ChooseFontW_(cf.fontPtr)
 		SetFocus(hwnd)
 		If Not n Return