X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff64116225fc4e7b330291f84e8df2e4e9d67f25..5b36366c59ea68056ba07a3ca1c2cd6022a59735:/include/wx/defs.h?ds=sidebyside diff --git a/include/wx/defs.h b/include/wx/defs.h index ff6a1e99fa..1071874f0e 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -62,8 +62,7 @@ # pragma warning(disable:4699) // using precompiled header # pragma warning(disable:4134) // conversion between pointers to members of same class # pragma warning(disable:4710) // function not inlined -# pragma warning(disable:4284) // -# pragma warning(disable:4097) // +# pragma warning(disable:4097) // typedef used as class #ifndef WIN32 # pragma warning(disable:4135) // conversion between different integral types # pragma warning(disable:4769) // assignment of near pointer to long integer @@ -377,6 +376,7 @@ typedef int wxWindowID; #define WXMAKINGDLL_CORE #define WXMAKINGDLL_HTML + #define WXMAKINGDLL_XML #endif // WXMAKINGDLL // WXDLLEXPORT maps to export declaration when building the DLL, to import @@ -422,6 +422,14 @@ typedef int wxWindowID; #define WXDLLIMPEXP_GL #endif +#ifdef WXMAKINGDLL_XML + #define WXDLLIMPEXP_XML WXEXPORT +#elif defined(WXUSINGDLL) + #define WXDLLIMPEXP_XML WXIMPORT +#else // not making nor using DLL + #define WXDLLIMPEXP_XML +#endif + // for backwards compatibility, define suffix-less versions too #define WXDLLEXPORT WXDLLIMPEXP_CORE #define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE @@ -1388,6 +1396,19 @@ enum wxID_FIND, wxID_DUPLICATE, wxID_SELECTALL, + wxID_DELETE, + wxID_REPLACE, + wxID_REPLACE_ALL, + wxID_PROPERTIES, + + wxID_VIEW_DETAILS, + wxID_VIEW_LARGEICONS, + wxID_VIEW_SMALLICONS, + wxID_VIEW_LIST, + wxID_VIEW_SORTDATE, + wxID_VIEW_SORTNAME, + wxID_VIEW_SORTSIZE, + wxID_VIEW_SORTTYPE, wxID_FILE1 = 5050, wxID_FILE2, @@ -2004,6 +2025,7 @@ typedef struct objc_object *WX_##klass #endif // defined(__GNUC__) && defined(__APPLE__) DECLARE_WXCOCOA_OBJC_CLASS(NSApplication); +DECLARE_WXCOCOA_OBJC_CLASS(NSBitmapImageRep); DECLARE_WXCOCOA_OBJC_CLASS(NSBox); DECLARE_WXCOCOA_OBJC_CLASS(NSButton); DECLARE_WXCOCOA_OBJC_CLASS(NSColor);