- GrafPtr port ;
- GetPort( &port ) ;
- SetPortWindowPort(m_window) ;
- LocalToGlobal( (Point *) &tag.absHotRect.top );
- LocalToGlobal( (Point *) &tag.absHotRect.bottom );
- SetPort( port );
- m_helpTextRef = m_label ;
+
+ QDLocalToGlobalRect( GetWindowPort( m_window ) , &tag.absHotRect ) ;
+
+ m_helpTextRef.Assign( m_label , wxFONTENCODING_DEFAULT ) ;