X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..777f37e0ccea2836804085fc7d0f5d9666a787f9:/src/msw/tabctrl.cpp diff --git a/src/msw/tabctrl.cpp b/src/msw/tabctrl.cpp index c8a70ab0da..f8b3ce1bce 100644 --- a/src/msw/tabctrl.cpp +++ b/src/msw/tabctrl.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: tabctrl.cpp +// Name: src/msw/tabctrl.cpp // Purpose: wxTabCtrl // Author: Julian Smart // Modified by: @@ -16,15 +16,16 @@ #pragma hdrstop #endif +#if wxUSE_TAB_DIALOG + #ifndef WX_PRECOMP #include "wx/wx.h" #endif -#if defined(__WIN95__) - #include "wx/msw/private.h" -#include +// include "properly" +#include "wx/msw/wrapcctl.h" #include "wx/tabctrl.h" #include "wx/app.h" @@ -315,7 +316,7 @@ int wxTabCtrl::SetSelection(int item) void wxTabCtrl::SetImageList(wxImageList* imageList) { m_imageList = imageList; - TabCtrl_SetImageList( (HWND) GetHWND(), (HIMAGELIST) imageList->GetHIMAGELIST() ); + (void) TabCtrl_SetImageList( (HWND) GetHWND(), (HIMAGELIST) imageList->GetHIMAGELIST() ); } // Set the text for an item @@ -430,5 +431,4 @@ void wxMapBitmap(HBITMAP hBitmap, int width, int height) } #endif -#endif - // __WIN95__ +#endif // wxUSE_TAB_DIALOG