always return 471 from wxApp::GetComCtl32Version() under CE as its commctrl.dll includes all comctl32.dll v4.71 functionality (replaces patch 1890933)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,6 +81,26 @@ protected:
|
||||
DECLARE_NO_COPY_CLASS(wxApp)
|
||||
};
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
|
||||
// under CE provide a dummy implementation of GetComCtl32Version() returning
|
||||
// the value passing all ">= 470" tests (which are the only ones used in our
|
||||
// code currently) as commctrl.dll under CE 2.0 and later support comctl32.dll
|
||||
// functionality
|
||||
inline int wxApp::GetComCtl32Version()
|
||||
{
|
||||
return 471;
|
||||
}
|
||||
|
||||
// this is not currently used at all under CE so it's not really clear what do
|
||||
// we need to return from here
|
||||
inline int wxApp::GetShell32Version()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif // __WXWINCE__
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// MSW-specific wxEntry() overload and IMPLEMENT_WXWIN_MAIN definition
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user