Преглед изворни кода

Pass in correct handle to ChooseFont

woollybah пре 9 година
родитељ
комит
3b8e15b890
1 измењених фајлова са 1 додато и 1 уклоњено
  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