X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b1414681c6134c9d70b0d9cd58b89b07ae41249..b721db1057f64d350882772ea91830f6d442b519:/include/wx/msw/wince/libraries.h?ds=inline 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: