Include wx/window.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,7 +13,10 @@
|
||||
#if wxUSE_TOOLTIPS
|
||||
|
||||
#include "wx/tooltip.h"
|
||||
#include "wx/window.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/window.h"
|
||||
#endif
|
||||
|
||||
#include "wx/gtk1/private.h"
|
||||
|
||||
@@ -52,7 +55,7 @@ void wxToolTip::Apply( wxWindow *win )
|
||||
|
||||
m_window = win;
|
||||
|
||||
if (m_text.IsEmpty())
|
||||
if (m_text.empty())
|
||||
m_window->ApplyToolTip( ss_tooltips, (wxChar*) NULL );
|
||||
else
|
||||
m_window->ApplyToolTip( ss_tooltips, m_text );
|
||||
|
Reference in New Issue
Block a user