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:
Włodzimierz Skiba
2006-09-07 19:01:45 +00:00
parent 8383c11698
commit 57bd4c6031
64 changed files with 185 additions and 246 deletions

View File

@@ -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();
}