Commit Graph
26 Commits
Author SHA1 Message Date
Zhaofeng Li 693af0c98f Initialize locale before wxTranslations::Get()
This fixes a crash similar to <https://github.com/prusa3d/PrusaSlicer/issues/8299>.
2023-06-14 10:44:13 +08:00
Zhaofeng Li 5e5dea82b6 HintsToPot: Fix compilation on MSVC 2022-12-25 15:31:32 +08:00
Zhaofeng Li 580d8d13b8 BuildLinuxImage.sh: Remove data dir creation
Fixed in c25c1ba4eb.
2022-12-25 14:32:28 +08:00
Zhaofeng Li d6a7809d5c BuildLinuxImage.sh: Remove forced light theme 2022-12-25 14:32:27 +08:00
Zhaofeng Li fd87560bd7 WebView: Only include the private header on Windows and macOS
The wrapper isn't used in the Linux code path. Some distributions'
wxWidgets packages don't ship the private headers.
2022-12-25 14:30:31 +08:00
Zhaofeng Li 6b0c17d9e9 CMakeLists.txt: Remove non-existent udev dir from installation
It doesn't exist in our tree.
2022-12-25 14:30:23 +08:00
Zhaofeng Li 8d7bb97eb9 GUI_ObjectTable: Fix casting of wxGridCellEditorEvtHandler
Fixes linking errors like:

/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: slic3r/liblibslic3r_gui.a(GUI_ObjectTable.cpp.o): in function `wxClassInfo::IsKindOf(wxClassInfo const*) const':
/nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:99: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
2022-12-25 14:30:12 +08:00
Zhaofeng Li 5e543837c1 WebView: Only include webview_edge.h when enabled 2022-12-25 14:30:04 +08:00
Zhaofeng Li 1f70fd70cd 3mf: Correctly include expat.h 2022-12-25 14:29:52 +08:00
Zhaofeng Li c54e6b64bb GCodeProcessor: Add missing mutex include 2022-12-25 14:29:45 +08:00
Zhaofeng Li 7dbf39465c Add missing includes for boost::filesystem::load_string_file
Deprecated in Boost 1.79.0 and no longer included by
filesystem.hpp.
2022-12-25 14:29:34 +08:00
Zhaofeng Li ab03a10621 Use fstream from boost::nowide
Fixes build on Boost 1.79.0.
2022-12-25 14:29:24 +08:00
Zhaofeng Li ca00918f85 BuildLinuxImage.sh: Remove data dir creation
Fixed in c25c1ba4eb.
2022-12-19 02:28:54 -05:00
Zhaofeng Li f8a92b2b3f BuildLinuxImage.sh: Remove forced light theme 2022-12-19 02:28:54 -05:00
Zhaofeng Li 73679f6f2e TreeSupport: Fix UTF-8 errors
Let's just translate the comments into English while we are at it.
2022-12-16 22:51:07 -05:00
Zhaofeng Li 93bfa10d4e MediaPlayCtrl: Add missing string_file header 2022-12-16 22:51:07 -05:00
Zhaofeng Li c6ac8193e3 HintsToPot: Fix compilation on MSVC 2022-12-16 22:51:07 -05:00
Zhaofeng Li 9cfe3c6016 Add more missing headers 2022-12-16 22:51:07 -05:00
Zhaofeng Li 06a06714c1 WebView: Only include the private header on Windows and macOS
The wrapper isn't used in the Linux code path. Some distributions'
wxWidgets packages don't ship the private headers.
2022-12-16 22:51:07 -05:00
Zhaofeng Li 920241f0d4 CMakeLists.txt: Remove non-existent udev dir from installation
It doesn't exist in our tree.
2022-12-16 22:51:07 -05:00
Zhaofeng Li a78bed0fd7 GUI_ObjectTable: Fix casting of wxGridCellEditorEvtHandler
Fixes linking errors like:

/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: slic3r/liblibslic3r_gui.a(GUI_ObjectTable.cpp.o): in function `wxClassInfo::IsKindOf(wxClassInfo const*) const':
/nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:99: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
2022-12-16 22:51:07 -05:00
Zhaofeng Li daade424cb WebView: Only include webview_edge.h when enabled 2022-12-16 22:51:07 -05:00
Zhaofeng Li 0c83c2884b 3mf: Correctly include expat.h 2022-12-16 22:51:07 -05:00
Zhaofeng Li 9b1429144b GCodeProcessor: Add missing mutex include 2022-12-16 22:51:07 -05:00
Zhaofeng Li 99043bbb02 Add missing includes for boost::filesystem::load_string_file
Deprecated in Boost 1.79.0 and no longer included by
filesystem.hpp.
2022-12-16 22:51:07 -05:00
Zhaofeng Li f4f871c906 Use fstream from boost::nowide
Fixes build on Boost 1.79.0.
2022-12-16 22:51:07 -05:00