- bool m_isStaticBox:1; /* faster than IS_KIND_OF */
- bool m_isRadioButton:1; /* faster than IS_KIND_OF */
- bool m_isFrame:1; /* faster than IS_KIND_OF */
- bool m_acceptsFocus:1; /* not wxStaticBox, not wxStaticBitmap etc. */
- bool m_isScrolling;
- bool m_clipPaintRegion; /* TRUE after ScrollWindow() */
- bool m_queuedFullRedraw; /* TRUE after DoMoveWindow */
-
- // these are true if the style were set before the widget was realized
- // (typcally in the constructor) but the actual GTK style must not be set
- // before the widget has been "realized"
- bool m_delayedForegroundColour:1;
- bool m_delayedBackgroundColour:1;
-
- // contains GTK's widgets internal information about non-default widget
- // font and colours. we create one for each widget that gets any
- // non-default attribute set via SetFont() or SetForegroundColour() /
- // SetBackgroundColour().
- GtkStyle *m_widgetStyle;
+ bool m_acceptsFocus:1; // true if not static
+ bool m_hasFocus:1; // true if == FindFocus()
+ bool m_isScrolling:1; // dragging scrollbar thumb?
+ bool m_clipPaintRegion:1; // true after ScrollWindow()
+ bool m_needsStyleChange:1; // May not be able to change
+ // background style until OnIdle