Include commctrl.h properly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-30 07:43:05 +00:00
parent b36e08d086
commit 2bd6022f1c
11 changed files with 30 additions and 31 deletions

View File

@@ -40,10 +40,10 @@
#include "wx/clipbrd.h" #include "wx/clipbrd.h"
#include "wx/msw/private.h" #include "wx/msw/private.h"
// include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
#if wxUSE_TOOLTIPS #if wxUSE_TOOLTIPS
#if !defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__)
#include <commctrl.h>
#endif
#include "wx/tooltip.h" #include "wx/tooltip.h"
#endif // wxUSE_TOOLTIPS #endif // wxUSE_TOOLTIPS

View File

@@ -40,9 +40,8 @@
#include "wx/msw/private.h" #include "wx/msw/private.h"
#ifdef __WXWINCE__ // include <commctrl.h> "properly"
#include <commctrl.h> #include "wx/msw/wrapcctl.h"
#endif
#if defined(__POCKETPC__) || defined(__SMARTPHONE__) #if defined(__POCKETPC__) || defined(__SMARTPHONE__)
#include <ole2.h> #include <ole2.h>

View File

@@ -32,9 +32,8 @@
#include "wx/gauge.h" #include "wx/gauge.h"
#include "wx/msw/private.h" #include "wx/msw/private.h"
#if !(defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)) // include <commctrl.h> "properly"
#include <commctrl.h> #include "wx/msw/wrapcctl.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// constants // constants

View File

@@ -41,13 +41,15 @@
#include "wx/msw/private.h" #include "wx/msw/private.h"
// include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
#ifdef __WXWINCE__ #ifdef __WXWINCE__
#include <windows.h> #include <windows.h>
#include <windowsx.h> #include <windowsx.h>
#include <tchar.h> #include <tchar.h>
#include <ole2.h> #include <ole2.h>
#include <shellapi.h> #include <shellapi.h>
#include <commctrl.h>
#if (_WIN32_WCE < 400) && !defined(__HANDHELDPC__) #if (_WIN32_WCE < 400) && !defined(__HANDHELDPC__)
#include <aygshell.h> #include <aygshell.h>
#endif #endif

View File

@@ -37,11 +37,11 @@
#include "wx/msw/private.h" #include "wx/msw/private.h"
#include <windowsx.h> #include <windowsx.h>
#include <commctrl.h>
#include "wx/msw/winundef.h" #include "wx/msw/winundef.h"
// include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
#if wxUSE_UXTHEME #if wxUSE_UXTHEME
#include "wx/msw/uxtheme.h" #include "wx/msw/uxtheme.h"
#endif #endif

View File

@@ -34,9 +34,8 @@
#include "wx/slider.h" #include "wx/slider.h"
#include "wx/msw/subwin.h" #include "wx/msw/subwin.h"
#if !(defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)) // include <commctrl.h> "properly"
#include <commctrl.h> #include "wx/msw/wrapcctl.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// constants // constants

View File

@@ -29,11 +29,11 @@
#include "wx/choice.h" #include "wx/choice.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include <commctrl.h>
#include "wx/msw/missing.h"
#include "wx/msw/winundef.h"
#endif #endif
// include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
#include "wx/spinbutt.h" // for wxSpinnerBestSize #include "wx/spinbutt.h" // for wxSpinnerBestSize
#if wxUSE_EXTENDED_RTTI #if wxUSE_EXTENDED_RTTI

View File

@@ -45,13 +45,15 @@
#include "malloc.h" #include "malloc.h"
#endif #endif
// include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
#include "wx/msw/private.h" #include "wx/msw/private.h"
#include <windows.h> #include <windows.h>
#include <windowsx.h> #include <windowsx.h>
#include <tchar.h> #include <tchar.h>
#include <ole2.h> #include <ole2.h>
#include <shellapi.h> #include <shellapi.h>
#include <commctrl.h>
#if defined(WINCE_WITHOUT_COMMANDBAR) #if defined(WINCE_WITHOUT_COMMANDBAR)
#include <aygshell.h> #include <aygshell.h>
#endif #endif

View File

@@ -24,19 +24,19 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#if wxUSE_TEXTCTRL && defined(__SMARTPHONE__) && defined(__WXWINCE__)
#include "wx/textctrl.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/textctrl.h"
#endif #endif
// include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
#include "wx/spinbutt.h" #include "wx/spinbutt.h"
#include "wx/textfile.h" #include "wx/textfile.h"
#include <commctrl.h>
#include "wx/msw/missing.h"
#include "wx/msw/winundef.h"
#if wxUSE_TEXTCTRL && defined(__SMARTPHONE__) && defined(__WXWINCE__)
#define GetBuddyHwnd() (HWND)(m_hwndBuddy) #define GetBuddyHwnd() (HWND)(m_hwndBuddy)
#define IsVertical(wxStyle) (true) #define IsVertical(wxStyle) (true)

View File

@@ -104,7 +104,8 @@
#include <windowsx.h> #include <windowsx.h>
#endif #endif
#include <commctrl.h> // include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
#ifndef __WXWINCE__ #ifndef __WXWINCE__
#include <pbt.h> #include <pbt.h>

View File

@@ -40,9 +40,6 @@
#include "wx/palmos/private.h" #include "wx/palmos/private.h"
#if wxUSE_TOOLTIPS #if wxUSE_TOOLTIPS
#if !defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__)
#include <commctrl.h>
#endif
#include "wx/tooltip.h" #include "wx/tooltip.h"
#endif // wxUSE_TOOLTIPS #endif // wxUSE_TOOLTIPS