compilation fix after wxGUIAppTraits::GetToolkitVersion() introduction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-09-10 01:58:13 +00:00
parent 8444b6cb6b
commit 9d639ffa59

View File

@ -54,13 +54,12 @@ void wxClientDisplayRect(int *x,int *y,int *width,int *height)
*height=768;
}
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const
{
static wxToolkitInfo info;
info.shortName = _T("cocoa");
info.name = _T("wxCocoa");
// TODO: Finish this
return info;
// We suppose that toolkit version is the same as OS version under Mac
wxGetOsVersion(verMaj, verMin);
return wxPORT_COCOA;
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)