]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dibutils.cpp
a better fix for notebook page not being refreshed after Delete()
[wxWidgets.git] / src / msw / dibutils.cpp
index 6ee22bf3042319fadbeb2a968f3f190f656c45ed..67b1c0569a40cedb4ea79f1e27ff57ddfb7262b5 100644 (file)
@@ -293,7 +293,7 @@ PDIB wxDibReadBitmapInfo(HFILE fh)
     off = _llseek(fh,0L,SEEK_CUR);
 
     if (sizeof(bf) != _lread(fh,(LPSTR)&bf,sizeof(bf)))
-        return FALSE;
+        return NULL;
 
     /*
      *  do we have a RC HEADER?
@@ -305,7 +305,7 @@ PDIB wxDibReadBitmapInfo(HFILE fh)
     }
 
     if (sizeof(bi) != _lread(fh,(LPSTR)&bi,sizeof(bi)))
-        return FALSE;
+        return NULL;
 
     /*
      *  what type of bitmap info is this?