wxSTD_COL_BTNSHADOW,
wxSTD_COL_BTNFACE,
wxSTD_COL_BTNHIGHLIGHT,
- wxSTD_COL_MAX,
+ wxSTD_COL_MAX
};
struct WXDLLEXPORT wxCOLORMAP
#else // __WIN32__
+#ifdef __VISUALC__
+ // strangely enough, VC++ 7.1 gives warnings about 32 -> 64 bit conversions
+ // in the functions below, even in spite of the explicit casts
+ #pragma warning(disable:4311)
+ #pragma warning(disable:4312)
+#endif
+
inline void *wxGetWindowProc(HWND hwnd)
{
return (void *)::GetWindowLong(hwnd, GWL_WNDPROC);
return (void *)::SetWindowLong(hwnd, GWL_USERDATA, (LONG)data);
}
+#ifdef __VISUALC__
+ #pragma warning(default:4311)
+ #pragma warning(default:4312)
+#endif
+
#endif // __WIN64__/__WIN32__
#endif // wxUSE_GUI