mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Fix compilation with mingw
If wxWidgets is built as a DLL then the DECLARE_EVENT_TYPE macro assumes the event itself is defined in a DLL. If it isn't then the linker will look for the wrong symbol. Therefore don't use the macro as the event does indeed not live in a DLL in this case.
This commit is contained in:
parent
48eb906077
commit
2e58e48957
@ -55,7 +55,7 @@ private:
|
||||
void close_dialog();
|
||||
};
|
||||
|
||||
DECLARE_EVENT_TYPE(wxEVT_MTX_UPDATE_CHECK_STATE_CHANGED, -1);
|
||||
extern const wxEventType wxEVT_MTX_UPDATE_CHECK_STATE_CHANGED;
|
||||
|
||||
# define UPDATE_CHECK_START 1
|
||||
# define UPDATE_CHECK_DONE_NO_NEW_RELEASE 2
|
||||
|
Loading…
Reference in New Issue
Block a user