}
long x, y;
- event.Position(&x, &y);
+ event.GetPosition(&x, &y);
wxToolBarTool *tool = FindToolForPosition(x, y);
if (!tool)
WXHBITMAP wxToolBarMSW::CreateMappedBitmap(WXHINSTANCE hInstance, WXHBITMAP hBitmap)
{
- HANDLE hDIB = BitmapToDIB((HBITMAP) hBitmap, 0);
+ HANDLE hDIB = wxBitmapToDIB((HBITMAP) hBitmap, 0);
if (hDIB)
{
#ifdef __WINDOWS_386__