]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/glcmn.cpp
Fixed wxPropertyGridManager::CreatePropertyGrid(), corrected documentation about...
[wxWidgets.git] / src / common / glcmn.cpp
index b3e1f5750257a95473011e84655ca0acd8edc65b..4f5f9c60253197d53e5a0a7efbc1c18a764d8d05 100644 (file)
@@ -118,6 +118,9 @@ void wxGLCanvasBase::OnSize(wxSizeEvent& WXUNUSED(event))
 /* static */
 bool wxGLCanvasBase::IsExtensionInList(const char *list, const char *extension)
 {
+    if ( !list )
+        return false;
+
     for ( const char *p = list; *p; p++ )
     {
         // advance up to the next possible match