Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-01-07 18:11:53 +00:00
parent eaa6418668
commit b4da152ea3
35 changed files with 34 additions and 204 deletions

View File

@@ -36,12 +36,6 @@
#include <windowsx.h>
#ifdef __WXWINE__
#if defined(GetWindowStyle)
#undef GetWindowStyle
#endif
#endif
#include "wx/dynarray.h"
#include "wx/log.h"
@@ -55,33 +49,6 @@
#endif
#endif
#ifdef __WXWINE__
#ifndef ListBox_SetItemData
#define ListBox_SetItemData(hwndCtl, index, data) \
((int)(DWORD)SendMessage((hwndCtl), LB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(data)))
#endif
#ifndef ListBox_GetHorizontalExtent
#define ListBox_GetHorizontalExtent(hwndCtl) \
((int)(DWORD)SendMessage((hwndCtl), LB_GETHORIZONTALEXTENT, 0L, 0L))
#endif
#ifndef ListBox_GetSelCount
#define ListBox_GetSelCount(hwndCtl) \
((int)(DWORD)SendMessage((hwndCtl), LB_GETSELCOUNT, 0L, 0L))
#endif
#ifndef ListBox_GetSelItems
#define ListBox_GetSelItems(hwndCtl, cItems, lpItems) \
((int)(DWORD)SendMessage((hwndCtl), LB_GETSELITEMS, (WPARAM)(int)(cItems), (LPARAM)(int *)(lpItems)))
#endif
#ifndef ListBox_GetTextLen
#define ListBox_GetTextLen(hwndCtl, index) \
((int)(DWORD)SendMessage((hwndCtl), LB_GETTEXTLEN, (WPARAM)(int)(index), 0L))
#endif
#ifndef ListBox_GetText
#define ListBox_GetText(hwndCtl, index, lpszBuffer) \
((int)(DWORD)SendMessage((hwndCtl), LB_GETTEXT, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(lpszBuffer)))
#endif
#endif
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
// ============================================================================