]> git.saurik.com Git - wxWidgets.git/commitdiff
clang warnings
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 27 Jan 2011 11:54:19 +0000 (11:54 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 27 Jan 2011 11:54:19 +0000 (11:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/glcanvas.mm
src/richtext/richtextbuffer.cpp

index bebcdcefdbb829dc17b158c674ef96d10857cebd..8ca1d7ab8660894919d65f85b66c58befce2d3c7 100644 (file)
@@ -187,7 +187,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList)
                         if ( !attribList[arg++] )
                             break;
 
-                        return false;
+                        return nil;
                     }
 
                     data[p++] = NSOpenGLPFASampleBuffers;
@@ -204,7 +204,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList)
                         if ( !attribList[arg++] )
                             break;
 
-                        return false;
+                        return nil;
                     }
 
                     data[p++] = NSOpenGLPFASamples;
index 5935ac9d43e5e4b67eedb0e49d30e24d32d967bc..21f4d653cffb33e8c594a7177538a6dbecf946e6 100644 (file)
@@ -8914,7 +8914,7 @@ wxRichTextCell* wxRichTextTable::GetCell(int row, int col) const
         return wxDynamicCast(obj, wxRichTextCell);
     }
     else
-        return false;
+        return NULL;
 }
 
 // Returns a selection object specifying the selections between start and end character positions.