summaryrefslogtreecommitdiff
path: root/wx+/window_layout.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-11-27 10:33:00 -0500
committerB. Stack <bgstack15@gmail.com>2023-11-27 10:33:00 -0500
commit2e61b9b6258f29c03cb3b0da48282f3a87590702 (patch)
tree2be66dfaf965d246ea2df6248c7890208887e6bb /wx+/window_layout.h
parentadd upstream 13.1 (diff)
downloadFreeFileSync-2e61b9b6258f29c03cb3b0da48282f3a87590702.tar.gz
FreeFileSync-2e61b9b6258f29c03cb3b0da48282f3a87590702.tar.bz2
FreeFileSync-2e61b9b6258f29c03cb3b0da48282f3a87590702.zip
add upstream 13.213.2
Diffstat (limited to 'wx+/window_layout.h')
-rw-r--r--wx+/window_layout.h4
1 files changed, 2 insertions, 2 deletions
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
}
bgstack15