added orient parameter to DrawSplitterSash instead of using wxMirrorDC in the splitter (it is now used in generic renderer only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -89,7 +89,8 @@ public:
|
||||
virtual void DrawSplitterSash(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxSize& size,
|
||||
wxCoord position) = 0;
|
||||
wxCoord position,
|
||||
wxOrientation orient) = 0;
|
||||
|
||||
|
||||
// geometry functions
|
||||
@@ -144,8 +145,9 @@ public:
|
||||
virtual void DrawSplitterSash(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxSize& size,
|
||||
wxCoord position)
|
||||
{ m_rendererNative.DrawSplitterSash(win, dc, size, position); }
|
||||
wxCoord position,
|
||||
wxOrientation orient)
|
||||
{ m_rendererNative.DrawSplitterSash(win, dc, size, position, orient); }
|
||||
|
||||
|
||||
virtual wxPoint GetSplitterSashAndBorder(const wxWindow *win)
|
||||
|
Reference in New Issue
Block a user