Code: Select all
wxRect rc(300, 300, 350, 500);
if(tlid != -1)
{
wxRect r = m_toolbar->GetToolRect(tlid);
wxSize s(r.x, r.y);
wxSize s2 = m_toolbar->ClientToWindowSize(s);
rc.x = s2.x;
rc.y = s2.y;
}
How to convert toolbar coordinates to screen coordinates?
Thank you