+ if (newSize.x == -1)
+ newSize.x = bestSize.x;
+ if (newSize.y == -1)
+ newSize.y = bestSize.y;
+ if (newSize.y > 22)
+ newSize.y = 22;
+
+ if (!PreCreation( parent, pos, newSize ) ||
+ !CreateBase( parent, id, pos, size, style, validator, name ))
+ {
+ wxFAIL_MSG( wxT("wxComboBox creation failed") );
+ return FALSE;
+ }