Use native MIME and display classes in wxGTK/Win32 build
Use Windows file associations when running under this OS, even when using wxGTK, because this is the right thing to do. Also use native wxDisplay implementation because it works better than the GTK+ one under this platform. Closes #17651.
This commit is contained in:
committed by
Vadim Zeitlin
parent
9cb762dbd2
commit
897ffb58b0
@@ -10,7 +10,13 @@
|
||||
#ifndef _WX_GTK_MIMETYPE_IMPL_H
|
||||
#define _WX_GTK_MIMETYPE_IMPL_H
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if defined(__UNIX__)
|
||||
#include "wx/unix/mimetype.h"
|
||||
#elif defined(__WINDOWS__)
|
||||
#include "wx/msw/mimetype.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_MIMETYPE
|
||||
|
||||
|
Reference in New Issue
Block a user