#if wxUSE_TOOLTIPS
-#include "wx/app.h"
-#include "wx/dc.h"
-#include "wx/window.h"
#include "wx/tooltip.h"
-#include "wx/timer.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/window.h"
+ #include "wx/dc.h"
+ #include "wx/timer.h"
+#endif
+
#include "wx/geometry.h"
#include "wx/mac/uma.h"
void wxMacToolTip::Draw()
{
- if ( m_label.Length() == 0 )
+ if ( m_label.empty() )
return ;
if ( m_window == s_ToolTipWindowRef )
short height = 0 ;
int i = 0 ;
- int length = m_label.Length() ;
+ int length = m_label.length() ;
int width = 0 ;
int thiswidth = 0 ;
int laststop = 0 ;
#endif
}
-#endif
+#endif // wxUSE_TOOLTIPS