mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
Reported by: Teodor Sigaev <teodorsigaev@gmail.com> Reviewed by: lwhsu (mentor) Sponsored by: Postgres Professional Differential Revision: https://reviews.freebsd.org/D44315
11 lines
468 B
C++
11 lines
468 B
C++
--- src/slic3r/GUI/KBShortcutsDialog.cpp.orig 2023-12-12 14:21:21 UTC
|
|
+++ src/slic3r/GUI/KBShortcutsDialog.cpp
|
|
@@ -59,7 +59,7 @@ KBShortcutsDialog::KBShortcutsDialog()
|
|
main_sizer->SetSizeHints(this);
|
|
this->CenterOnParent();
|
|
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
// workaround to correct pages layout
|
|
book->Bind(wxEVT_NOTEBOOK_PAGE_CHANGED, [book](wxBookCtrlEvent& e) {
|
|
book->GetPage(e.GetSelection())->Fit();
|