]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
libjpeg not used by default (it didn't even link)
[wxWidgets.git] / src / msw / statbmp.cpp
index e5070f3546b9c32590e5bd1159c5473faaf8d725..89f992643f7c6f35e48f55400d92e326efee4d92 100644 (file)
@@ -144,7 +144,7 @@ void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
 bool wxStaticBitmap::MSWOnDraw(WXDRAWITEMSTRUCT *item)
 {
     long style = GetWindowLong((HWND) GetHWND(), GWL_STYLE);
-#ifdef __WIN32__
+#if defined(__WIN32__) && defined(SS_BITMAP)
     if ((style & 0xFF) == SS_BITMAP)
     {
         // Should we call Default() here?