#endif
#include "wx/clipbrd.h"
+#include "wx/dynlib.h"
#include "wx/wupdlock.h"
#include "wx/msw/private.h"
// fall through
case WM_SYSCHAR:
- return HandleChar(wParam, lParam, true /* isASCII */);
+ return HandleChar(wParam, lParam);
case WM_SYSKEYDOWN:
case WM_KEYDOWN:
WXHWND wxComboBox::GetEditHWNDIfAvailable() const
{
+#if wxUSE_DYNLIB_CLASS
#if defined(WINVER) && WINVER >= 0x0500
typedef BOOL (WINAPI *GetComboBoxInfo_t)(HWND, COMBOBOXINFO*);
static GetComboBoxInfo_t s_pfnGetComboBoxInfo = NULL;
(*s_pfnGetComboBoxInfo)(GetHwnd(), &info);
return info.hwndItem;
}
-#endif
+#endif // WINVER >= 0x0500
+#endif // wxUSE_DYNLIB_CLASS
if (HasFlag(wxCB_SIMPLE))
{