From 8ac3c53e0f6e579d891ba232ab630b7e4154669f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Apr 2016 22:40:01 -0400 Subject: [PATCH] More fontdialog.cpp work. This is gonna kill me... --- windows/fontdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/fontdialog.cpp b/windows/fontdialog.cpp index 0e9fdb98..c7b1f348 100644 --- a/windows/fontdialog.cpp +++ b/windows/fontdialog.cpp @@ -102,7 +102,7 @@ static struct fontDialog *beginFontDialog(HWND hwnd, LPARAM lParam) if (SendMessageW(f->sizeCombobox, CB_SETTOPINDEX, (WPARAM) ten, 0) != 0) logLastError("error making 10 visible in the size combobox in beginFontDialog()"); - // TODO use GetComboBoxInfo() to add ES_NUMBER to the size combobox's edit box + // note: we can't add ES_NUMBER to the combobox entry (it seems to disable the entry instead?!), so we must do validation when the box is dmissed; TODO return f; }