virtual void Update();
virtual void Freeze();
virtual void Thaw();
+ virtual bool IsFrozen() const { return m_frozenness > 0; }
virtual void SetWindowStyleFlag(long style);
virtual void SetExtraStyle(long exStyle);
virtual bool ScrollLines(int lines);
virtual bool ScrollPages(int pages);
+ virtual void SetLayoutDirection(wxLayoutDirection dir);
+ virtual wxLayoutDirection GetLayoutDirection() const;
+ virtual wxCoord AdjustForLayoutDirection(wxCoord x,
+ wxCoord width,
+ wxCoord widthTotal) const;
+
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP
// check if mouse is in the window
bool IsMouseInWindow() const;
+ // check if a native double-buffering applies for this window
+ virtual bool IsDoubleBuffered() const;
+
// synthesize a wxEVT_LEAVE_WINDOW event and set m_mouseInWindow to false
void GenerateMouseLeave();
virtual void DoCaptureMouse();
virtual void DoReleaseMouse();
- // has the window been frozen by Freeze()?
- bool IsFrozen() const { return m_frozenness > 0; }
-
// this simply moves/resizes the given HWND which is supposed to be our
// sibling (this is useful for controls which are composite at MSW level
// and for which DoMoveWindow() is not enough)