]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/missing.h
Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
[wxWidgets.git] / include / wx / msw / missing.h
index e630907950dc15589ad36d7d298c0e27d280ee89..8c347306c95036f29f38f6dc20dc244600bb6a5c 100644 (file)
@@ -1,9 +1,10 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        missing.h
+// Name:        wx/msw/missing.h
 // Purpose:     Declarations for parts of the Win32 SDK that are missing in
-//              the version that comes with some compilers
+//              the versions that come with some compilers
 // Created:     2002/04/23
 // RCS-ID:      $Id$
+// Copyright:   (c) 2002 Mattia Barbon
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -44,7 +45,8 @@
 #endif
 
 #ifndef LVSICF_NOSCROLL
-    #define LVSICF_NOSCROLL 0x0002
+    #define LVSICF_NOINVALIDATEALL  0x0001
+    #define LVSICF_NOSCROLL         0x0002
 #endif
 
 // mingw32/cygwin don't have declarations for comctl32.dll 4.70+ stuff
@@ -178,6 +180,16 @@ typedef struct {
 #endif
 #endif
 
+#ifndef LVM_SETUNICODEFORMAT
+#define LVM_SETUNICODEFORMAT 0x2005
+#endif
+
+// ----------------------------------------------------------------------------
+// Toolbar define value missing 
+// ----------------------------------------------------------------------------
+#if !defined(CCS_VERT)
+#define CCS_VERT                0x00000080L
+#endif
 
 // ----------------------------------------------------------------------------
 // MS HTML Help
@@ -365,6 +377,59 @@ typedef struct _paraformat2 {
 
 #endif // wxUSE_RICHEDIT
 
+// ----------------------------------------------------------------------------
+// ToolBar
+// ----------------------------------------------------------------------------
+
+#if wxUSE_TOOLBAR
+
+#if !defined(TBIF_SIZE)
+
+#define TBIF_SIZE 64
+#define TB_SETBUTTONINFO (WM_USER+66)
+
+typedef struct {
+    UINT cbSize;
+    DWORD dwMask;
+    int idCommand;
+    int iImage;
+    BYTE fsState;
+    BYTE fsStyle;
+    WORD cx;
+    DWORD lParam;
+    LPTSTR pszText;
+    int cchText;
+} TBBUTTONINFO, *LPTBBUTTONINFO;
+
+#endif // !defined(TBIF_SIZE)
+
+#endif // wxUSE_TOOLBAR
+
+// ----------------------------------------------------------------------------
+// Tree control
+// ----------------------------------------------------------------------------
+
+#ifndef TVIS_FOCUSED
+    #define TVIS_FOCUSED            0x0001
+#endif
+
+#ifndef TV_FIRST
+    #define TV_FIRST                0x1100
+#endif
+
+#ifndef TVS_CHECKBOXES
+    #define TVS_CHECKBOXES          0x0100
+#endif
+
+#ifndef TVS_FULLROWSELECT
+    #define TVS_FULLROWSELECT       0x1000
+#endif
+
+#ifndef TVM_SETBKCOLOR
+    #define TVM_SETBKCOLOR          (TV_FIRST + 29)
+    #define TVM_SETTEXTCOLOR        (TV_FIRST + 30)
+#endif
+
 // ----------------------------------------------------------------------------
 // Misc stuff
 // ----------------------------------------------------------------------------
@@ -381,5 +446,9 @@ typedef struct _paraformat2 {
     #define ENDSESSION_LOGOFF    0x80000000
 #endif
 
+#ifndef HANGUL_CHARSET
+    #define HANGUL_CHARSET  129
+#endif
+
 #endif
     // _WX_MISSING_H_