[COMCTL32]

* Move some inclusions to the main header.
* Remove inclusions and definitions that already exist in the main header/resource file.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61745
This commit is contained in:
Amine Khaldi 2014-01-21 17:58:34 +00:00
parent bca9468bea
commit 20febaafd2
34 changed files with 10 additions and 72 deletions

View file

@ -24,7 +24,7 @@
#ifndef __WINE_COMCTL32_H
#define __WINE_COMCTL32_H
#include <config.h>
#include <wine/config.h>
#include <stdarg.h>
#include <assert.h>
@ -32,17 +32,16 @@
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winreg.h>
#include <commctrl.h>
#include <objbase.h>
#include <uxtheme.h>
#include <vssym32.h>

View file

@ -39,10 +39,10 @@
* -- FORMATCALLBACK
*/
#include <math.h>
#include "comctl32.h"
#include <math.h>
WINE_DEFAULT_DEBUG_CHANNEL(datetime);
typedef struct

View file

@ -31,8 +31,6 @@
#include "comctl32.h"
#include <objbase.h>
WINE_DEFAULT_DEBUG_CHANNEL(dpa);
typedef struct _DPA

View file

@ -39,7 +39,6 @@
#include "comctl32.h"
#include <objbase.h>
#include <commoncontrols.h>
#include <wine/exception.h>

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_ESPERANTO, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_FRENCH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_SERBIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_THAI, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "comctl32.h"
LANGUAGE LANG_CHINESE, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -134,10 +134,10 @@
* -- LVGroupComparE
*/
#include <stdio.h>
#include "comctl32.h"
#include <stdio.h>
WINE_DEFAULT_DEBUG_CHANNEL(listview);
typedef struct tagCOLUMN_INFO
@ -8597,7 +8597,7 @@ static DWORD LISTVIEW_SetIconSpacing(LISTVIEW_INFO *infoPtr, INT cx, INT cy)
return oldspacing;
}
static inline void set_icon_size(SIZE *size, HIMAGELIST himl, BOOL small)
static inline void set_icon_size(SIZE *size, HIMAGELIST himl, BOOL is_small)
{
INT cx, cy;
@ -8608,8 +8608,8 @@ static inline void set_icon_size(SIZE *size, HIMAGELIST himl, BOOL small)
}
else
{
size->cx = GetSystemMetrics(small ? SM_CXSMICON : SM_CXICON);
size->cy = GetSystemMetrics(small ? SM_CYSMICON : SM_CYICON);
size->cx = GetSystemMetrics(is_small ? SM_CXSMICON : SM_CXICON);
size->cy = GetSystemMetrics(is_small ? SM_CYSMICON : SM_CYICON);
}
}