X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..233387bdcbb1c4f31c54b0fe6b3f03e8d261cab1:/src/msw/tabctrl.cpp diff --git a/src/msw/tabctrl.cpp b/src/msw/tabctrl.cpp index c8a70ab0da..b2a69f6e77 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: @@ -20,11 +20,10 @@ #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 +314,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 @@ -429,6 +428,3 @@ void wxMapBitmap(HBITMAP hBitmap, int width, int height) } #endif - -#endif - // __WIN95__