]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
wxEVT_COMMAND_CHOICE_SELECTED => wxEVT_COMMAND_COMBOBOX_SELECTED
[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?