]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filectrl.cpp
refactor wxDocChildFrame and wxDocMDIChildFrame to use wxDocChildFrameAny intead...
[wxWidgets.git] / src / gtk / filectrl.cpp
index d4ff4dcdf9010a723489ee90dff2d51744b470de..8be3759997ada405af3c735be907db78bc9347e6 100644 (file)
@@ -147,15 +147,15 @@ void wxGtkFileChooser::SetWildcard( const wxString& wildCard )
 
                 wxStringTokenizer exttok( wildFilters[n], wxT( ";" ) );
                 
-                int n = 1;
+                int n1 = 1;
                 while ( exttok.HasMoreTokens() )
                 {
                     wxString token = exttok.GetNextToken();
                     gtk_file_filter_add_pattern( filter, wxGTK_CONV_SYS( token ) );
                     
-                    if (n == 1)
+                    if (n1 == 1)
                         m_wildcards.Add( token ); // Only add first pattern to list, used later when saving
-                    n++;
+                    n1++;
                 }
 
                 gtk_file_chooser_add_filter( chooser, filter );