X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7121be53c73b6ece3b09559e142cd7f71d1961a1..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 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")