Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "wx/tooltip.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/msw/wrapcctl.h" // include <commctrl.h> "properly"
|
||||
#include "wx/app.h"
|
||||
#include "wx/control.h"
|
||||
#include "wx/combobox.h"
|
||||
@@ -36,9 +37,6 @@
|
||||
#include "wx/tokenzr.h"
|
||||
#include "wx/msw/private.h"
|
||||
|
||||
// include <commctrl.h> "properly"
|
||||
#include "wx/msw/wrapcctl.h"
|
||||
|
||||
// VZ: normally, the trick with subclassing the tooltip control and processing
|
||||
// TTM_WINDOWFROMPOINT should work but, somehow, it doesn't. I leave the
|
||||
// code here for now (but it's not compiled) in case we need it later.
|
||||
@@ -347,7 +345,7 @@ void wxToolTip::Add(WXHWND hWnd)
|
||||
}
|
||||
if ( sz.cx > max )
|
||||
max = sz.cx;
|
||||
|
||||
|
||||
token = tokenizer.GetNextToken();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user