mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-16 08:52:43 +00:00
Since we now target wxWidgets 3.3, all wxCHECK_VERSION(3,1,N) checks are always true. Remove the guards keeping only the true branches: - I18N.hpp: Remove version guard around _wxGetTranslation_ctx macro - ExtraRenderers.hpp, GUI_App.hpp: Simplify SUPPORTS_MARKUP to check only wxUSE_MARKUP (version check always true) - ConfigWizard.cpp: Remove manual wxArrayInt comparison fallback - SendSystemInfoDialog.cpp: Simplify display scaling guard to _WIN32 only - GUI_Utils.cpp: Remove IsDark() fallback using luma approximation - wxinit.h: Remove legacy wxEVT_BUTTON and wxEVT_HTML_LINK_CLICKED compat macros (these event names exist natively in wx 3.3)
16 lines
381 B
C
16 lines
381 B
C
#ifndef slic3r_wxinit_hpp_
|
|
#define slic3r_wxinit_hpp_
|
|
|
|
#include <wx/wx.h>
|
|
#include <wx/intl.h>
|
|
#include <wx/html/htmlwin.h>
|
|
|
|
// Perl redefines a _ macro, so we undef this one
|
|
#undef _
|
|
|
|
// We do want to use translation however, so define it as __ so we can do a find/replace
|
|
// later when we no longer need to undef _
|
|
#define __(s) wxGetTranslation((s))
|
|
|
|
#endif
|