]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
Add wxFontDialog ctor not taking wxFontData to wxOSX.
[wxWidgets.git] / src / msw / choice.cpp
index 8dc803b88b87452e41c8a2affb0eb08852739aab..ee5f46167e75aceb6cbe391f544562c44c4832eb 100644 (file)
@@ -86,10 +86,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent,
 
 
     // initialize the controls contents
-    for ( int i = 0; i < n; i++ )
-    {
-        Append(choices[i]);
-    }
+    Append(n, choices);
 
     // and now we may finally size the control properly (if needed)
     SetInitialSize(size);