X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..ec45f8ee19190fce57180381611075d3a5b63435:/src/msw/dib.cpp?ds=sidebyside diff --git a/src/msw/dib.cpp b/src/msw/dib.cpp index 58d92874cb..d214648061 100644 --- a/src/msw/dib.cpp +++ b/src/msw/dib.cpp @@ -26,7 +26,6 @@ *******************************************************************************/ // For compilers that support precompilation, includes "wx.h". -#define IN_WX_MAIN_CPP #include "wx/wxprec.h" #if defined(__BORLANDC__) @@ -682,7 +681,7 @@ HPALETTE MakeDIBPalette(LPBITMAPINFOHEADER lpInfo) ** some good color choices. */ else - return(GetStockObject(DEFAULT_PALETTE)); + return((HPALETTE) GetStockObject(DEFAULT_PALETTE)); } bool wxLoadIntoBitmap(char *filename, wxBitmap *bitmap, wxColourMap **pal)