m_boundingRect = * rect;
m_isDirty = false;
- m_isDirty = false;
+ m_isShown = false;
if (m_cursor.IsOk())
{
wxSize sz = fullScreenRect->GetSize();
- if (fullScreenRect->GetParent() && !fullScreenRect->IsKindOf(CLASSINFO(wxFrame)))
+ if (fullScreenRect->GetParent() && !wxDynamicCast(fullScreenRect, wxFrame))
fullScreenRect->GetParent()->ClientToScreen(& x, & y);
rect.x = x; rect.y = y;