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