]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dnd/dnd.cpp
refresh the MDI frame window menu whenever a child frame is shown/hidden (and not...
[wxWidgets.git] / samples / dnd / dnd.cpp
index 5b8217840a1431a4bd2565b16f6cb950738abf86..acc50c0de1f16faa1c297cd3e8048d493524236e 100644 (file)
@@ -522,7 +522,7 @@ public:
     virtual size_t GetFormatCount(Direction dir) const
     {
         // our custom format is supported by both GetData() and SetData()
-        ULONG nFormats = 1;
+        size_t nFormats = 1;
         if ( dir == Get )
         {
             // but the bitmap format(s) are only supported for output