don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-03 01:13:44 +00:00
parent bf37d5c83e
commit 074ca2937d
3 changed files with 22 additions and 17 deletions

View File

@@ -180,6 +180,11 @@ protected:
#endif // __SMARTPHONE__ && __WXWINCE__
private:
// helper of SetIcons(): calls gets the icon with the size specified by the
// given system metrics (SM_C{X|Y}[SM]ICON) from the bundle and sets it
// using WM_SETICON with the specified wParam (ICOM_SMALL or ICON_BIG)
void DoSelectAndSetIcon(const wxIconBundle& icons, int smX, int smY, int i);
#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
void* m_activateInfo;