Add more checks for wxUSE_DYNLIB_CLASS to wxMSW.
Compilation fixes for wxApp and wxComboBox for wxUSE_DYNLIB_CLASS==0. See #12664. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -438,6 +438,7 @@ bool wxComboBox::MSWShouldPreProcessMessage(WXMSG *pMsg)
|
||||
|
||||
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;
|
||||
@@ -455,7 +456,8 @@ WXHWND wxComboBox::GetEditHWNDIfAvailable() const
|
||||
(*s_pfnGetComboBoxInfo)(GetHwnd(), &info);
|
||||
return info.hwndItem;
|
||||
}
|
||||
#endif
|
||||
#endif // WINVER >= 0x0500
|
||||
#endif // wxUSE_DYNLIB_CLASS
|
||||
|
||||
if (HasFlag(wxCB_SIMPLE))
|
||||
{
|
||||
|
Reference in New Issue
Block a user