]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/resource.cpp
Moved the declaration of wxEVT_NULL to event.cpp and made it extern in the header...
[wxWidgets.git] / src / common / resource.cpp
index 5a0101373837f0ef9793aa8a2bc8fdaacd6f40b7..e2aae813d77dfa782733a158e4ea98eb0e587a99 100644 (file)
@@ -2483,7 +2483,7 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table
             }
         default:
             {
-                return wxBitmap(name, bitmapType);
+                return wxBitmap(name, (wxBitmapType)bitmapType);
             }
         }
 #ifndef __WXGTK__