X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43499aa4a12477ab1924c4366e1c3d46d8be4874..b721db1057f64d350882772ea91830f6d442b519:/include/wx/msw/wince/libraries.h diff --git a/include/wx/msw/wince/libraries.h b/include/wx/msw/wince/libraries.h index 16cd0df928..22e5347fdf 100644 --- a/include/wx/msw/wince/libraries.h +++ b/include/wx/msw/wince/libraries.h @@ -22,9 +22,17 @@ // including libraries in project files. #if defined(__VISUALC__) && defined(__WXWINCE__) + #if (_WIN32_WCE >= 400) || defined(__POCKETPC__) + // No commdlg.lib in Mobile 5.0 Smartphone +#if !(defined(__SMARTPHONE__) && _WIN32_WCE >= 1200) #pragma comment(lib,"commdlg.lib") #endif +#endif + +#if (_WIN32_WCE >= 400) && !defined(wxNO_RTTI) + #pragma comment(lib,"ccrtrtti.lib") +#endif #if defined(__WINCE_STANDARDSDK__) // DoDragDrop: