+ wxColour *colour;
+ wxFont *font;
+
+ if (s.SecondCall()) {
+ /* I assume we will never create raw wxWindow object */
+ (void)s.GetChild(); // We pass wxLayoutConstraints.
+ (void)s.GetChild(); // We pass wxValidator.
+
+ colour = (wxColour *)s.GetChild();
+ if (colour)
+ win_object->SetBackgroundColour(*colour);
+ colour = (wxColour *)s.GetChild();
+ if (colour)
+ win_object->SetForegroundColour(*colour);
+ font = (wxFont *)s.GetChild();
+ if (font)
+ win_object->SetFont(*font);
+ s.RemoveChildren(m_number);
+ return;
+ }