X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fcd0c90f758ec71f89fda08e55ed325d7d861b12..a82b8141373e1da66c018fbad4e608a4065801b0:/include/wx/msw/missing.h?ds=sidebyside diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 83129ec448..088073bc23 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -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 ///////////////////////////////////////////////////////////////////////////// @@ -365,6 +366,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 // ----------------------------------------------------------------------------