]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dib.cpp
Update to docs incl. wxString first stab; added a couple of palette-related events...
[wxWidgets.git] / src / msw / dib.cpp
index 58d92874cb8414cff42d29526835624d256809c9..d86337576a86a2206a20122aece28253af39d405 100644 (file)
@@ -682,7 +682,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)