X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce3ed50dbe32d118321082db84c3a9abb047d5b7..0bc9b25e9a0218d5ddc1d12c40dd96216bb275e7:/src/msw/listbox.cpp diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 2b973f90d2..9de6a74b3b 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -33,9 +33,11 @@ #include #include +#ifndef __TWIN32__ #ifdef __GNUWIN32__ #include #endif +#endif #ifdef GetCharWidth #undef GetCharWidth @@ -214,7 +216,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, wxCHECK_MSG( m_hWnd, FALSE, "Failed to create listbox" ); -#if CTL3D +#if wxUSE_CTL3D if (want3D) { Ctl3dSubclassCtl(hwnd); @@ -686,7 +688,7 @@ void wxListBox::Command (wxCommandEvent & event) WXHBRUSH wxListBox::OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam) { -#if CTL3D +#if wxUSE_CTL3D if ( m_useCtl3D ) { HBRUSH hbrush = Ctl3dCtlColorEx(message, wParam, lParam);