eVC3 build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7bea7b9148
commit
2e29e19e7e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user