From 2e61b9b6258f29c03cb3b0da48282f3a87590702 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 27 Nov 2023 10:33:00 -0500 Subject: add upstream 13.2 --- wx+/window_layout.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wx+/window_layout.h') diff --git a/wx+/window_layout.h b/wx+/window_layout.h index 8a86ec86..553485bd 100644 --- a/wx+/window_layout.h +++ b/wx+/window_layout.h @@ -66,7 +66,7 @@ void setDefaultWidth(wxSpinCtrl& m_spinCtrl) //get rid of excessive default width on old GTK3 3.14 (Debian); //gtk_entry_set_width_chars() not working => mitigate - m_spinCtrl.SetMinSize({fastFromDIP(100), -1}); //must be wider than gtk_entry_set_width_chars(), or it breaks newer GTK e.g. 3.22! + m_spinCtrl.SetMinSize({dipToWxsize(100), -1}); //must be wider than gtk_entry_set_width_chars(), or it breaks newer GTK e.g. 3.22! #if 0 //generic property syntax: GValue bval = G_VALUE_INIT; @@ -76,7 +76,7 @@ void setDefaultWidth(wxSpinCtrl& m_spinCtrl) ::g_object_set_property(G_OBJECT(m_spinCtrl.m_widget), "visibility", &bval); #endif #else - m_spinCtrl.SetMinSize({fastFromDIP(70), -1}); + m_spinCtrl.SetMinSize({dipToWxsize(70), -1}); #endif } -- cgit