]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/combobox.cpp
fixed event generation for wxChoice: it now sends one and exactly one wxEVT_COMMAND_C...
[wxWidgets.git] / src / os2 / combobox.cpp
index ccd8e120d9600ef54e2aac9519f1343bf4ade42f..c97801ef8573dbcbef6728f6bda1dadb666a4072 100644 (file)
@@ -156,10 +156,7 @@ bool wxComboBox::Create(
     //
     SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
 
-    SetFont(*wxSMALL_FONT);
-
-    int                             i;
-    for (i = 0; i < n; i++)
+    for (int i = 0; i < n; i++)
     {
         Append(asChoices[i]);
     }