// (i.e. in idle time, implemented in OnInternalIdle() ).
void GtkUpdateSize() { m_sizeSet = FALSE; }
+ // fix up the mouse event coords, used by wxListBox only so far
+ virtual void FixUpMouseEvent(GtkWidget * WXUNUSED(widget),
+ wxCoord& WXUNUSED(x),
+ wxCoord& WXUNUSED(y)) { }
+
+ // is this window transparent for the mouse events (as wxStaticBox is)?
+ virtual bool IsTransparentForMouse() const { return FALSE; }
+
+ // is this a radiobutton (used by radiobutton code itself only)?
+ virtual bool IsRadioButton() const { return FALSE; }
+
// position and size of the window
int m_x, m_y;
int m_width, m_height;
bool m_hasVMT:1;
bool m_sizeSet:1;
bool m_resizing:1;
- bool m_isStaticBox:1; // faster than IS_KIND_OF
- bool m_isRadioButton:1; // faster than IS_KIND_OF
- bool m_isListBox:1; // faster than IS_KIND_OF
- bool m_isFrame:1; // faster than IS_KIND_OF
bool m_acceptsFocus:1; // true if not static
bool m_hasFocus:1; // true if == FindFocus()
bool m_isScrolling:1; // dragging scrollbar thumb?
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
- // common part of all ctors (can't be virtual because called from ctor)
+protected:
+ // common part of all ctors (not virtual because called from ctor)
void Init();
private: