Lines Matching refs:edge
31 // Converts Mac window edge constants to wxDirections, wxLEFT, wxRIGHT, etc.
32 static wxDirection WindowEdgeToDirection(OptionBits edge);
34 // Convert wxDirections to MAc window edge constants.
50 wxSize size, wxDirection edge, const wxString& name)
56 if (wxLEFT == edge || wxRIGHT == edge)
103 return success && SetPreferredEdge(edge);
108 const OptionBits edge = ::GetDrawerCurrentEdge((WindowRef)m_macWindow);
109 return WindowEdgeToDirection(edge);
114 const OptionBits edge = ::GetDrawerPreferredEdge((WindowRef)m_macWindow);
115 return WindowEdgeToDirection(edge);
140 bool wxDrawerWindow::SetPreferredEdge(wxDirection edge)
143 DirectionToWindowEdge(edge));
150 OptionBits edge;
154 edge = kWindowEdgeTop;
158 edge = kWindowEdgeBottom;
162 edge = kWindowEdgeRight;
167 edge = kWindowEdgeLeft;
170 return edge;
173 wxDirection WindowEdgeToDirection(OptionBits edge)
176 switch (edge)