Selaa lähdekoodia

Pass in correct handle to ChooseFont

woollybah 9 vuotta sitten
vanhempi
commit
3b8e15b890
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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