X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7121be53c73b6ece3b09559e142cd7f71d1961a1..677dc0ed1a3ff68af15f6246d6d0708d5264b07a:/include/wx/msw/wince/libraries.h diff --git a/include/wx/msw/wince/libraries.h b/include/wx/msw/wince/libraries.h index 953e356b84..22e5347fdf 100644 --- a/include/wx/msw/wince/libraries.h +++ b/include/wx/msw/wince/libraries.h @@ -22,9 +22,13 @@ // 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")