#ifndef __WXMICROWIN__
wxChar *wxLoadUserResource(const wxString& resourceName, const wxString& resourceType)
{
- HRSRC hResource = ::FindResource(wxGetInstance(), resourceName, resourceType);
+ HRSRC hResource = ::FindResource(wxGetInstance(),
+ resourceName.wx_str(),
+ resourceType.wx_str());
if ( hResource == 0 )
return NULL;
return str;
}
-WXWORD WXDLLEXPORT wxGetWindowId(WXHWND hWnd)
+int WXDLLEXPORT wxGetWindowId(WXHWND hWnd)
{
- return (WXWORD)GetWindowLong((HWND)hWnd, GWL_ID);
+ return ::GetWindowLong((HWND)hWnd, GWL_ID);
}
// ----------------------------------------------------------------------------