]> git.saurik.com Git - wxWidgets.git/commitdiff
eVC3 build fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 1 Jul 2005 13:06:47 +0000 (13:06 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 1 Jul 2005 13:06:47 +0000 (13:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dib.cpp

index 5d2ef8e62125bce4a02d0603c2f3127d3ac8e904..f56dae0b1fb92b4feabbe8e29345ec166fcf0222 100644 (file)
@@ -588,6 +588,10 @@ HGLOBAL wxDIB::ConvertFromBitmap(HBITMAP hbmp)
 
 wxPalette *wxDIB::CreatePalette() const
 {
+    // GetDIBColorTable not available in eVC3
+#if defined(_WIN32_WCE) && _WIN32_WCE < 400
+    return NULL;
+#else
     wxCHECK_MSG( m_handle, NULL, _T("wxDIB::CreatePalette(): invalid object") );
 
     DIBSECTION ds;
@@ -655,6 +659,7 @@ wxPalette *wxDIB::CreatePalette() const
     palette->SetHPALETTE((WXHPALETTE)hPalette);
 
     return palette;
+#endif
 }
 
 #endif // wxUSE_PALETTE