X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b1414681c6134c9d70b0d9cd58b89b07ae41249..f196316400fd247a760b2ef77d5064b4e10e5471:/include/wx/msw/wince/libraries.h?ds=sidebyside diff --git a/include/wx/msw/wince/libraries.h b/include/wx/msw/wince/libraries.h index 608b82f9cc..22e5347fdf 100644 --- a/include/wx/msw/wince/libraries.h +++ b/include/wx/msw/wince/libraries.h @@ -23,9 +23,16 @@ #if defined(__VISUALC__) && defined(__WXWINCE__) -#if _WIN32_WCE >= 400 +#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: