Welcome to mirror list, hosted at ThFree Co, Russian Federation.

wxinit.h « GUI « slic3r « src - github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b55681b92dbfde5267df7089c9b64d4d5744a5f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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))

// legacy macros
// https://wiki.wxwidgets.org/EventTypes_and_Event-Table_Macros
#ifndef wxEVT_BUTTON
#define wxEVT_BUTTON wxEVT_COMMAND_BUTTON_CLICKED
#endif

#ifndef wxEVT_HTML_LINK_CLICKED
#define wxEVT_HTML_LINK_CLICKED wxEVT_COMMAND_HTML_LINK_CLICKED
#endif

#endif