Small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -213,8 +213,7 @@ filling the shape.
|
|||||||
\param{double}{ start}, \param{double}{ end}}
|
\param{double}{ start}, \param{double}{ end}}
|
||||||
|
|
||||||
Draws an arc of an ellipse. The current pen is used for drawing the arc and
|
Draws an arc of an ellipse. The current pen is used for drawing the arc and
|
||||||
the current brush is used for drawing the pie. This function is currently only available for
|
the current brush is used for drawing the pie.
|
||||||
X window and PostScript device contexts.
|
|
||||||
|
|
||||||
{\it x} and {\it y} specify the x and y coordinates of the upper-left corner of the rectangle that contains
|
{\it x} and {\it y} specify the x and y coordinates of the upper-left corner of the rectangle that contains
|
||||||
the ellipse.
|
the ellipse.
|
||||||
|
@@ -53,6 +53,10 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#include "dos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// If compiled under Windows, this macro can cause problems
|
// If compiled under Windows, this macro can cause problems
|
||||||
#ifdef GetFirstChild
|
#ifdef GetFirstChild
|
||||||
#undef GetFirstChild
|
#undef GetFirstChild
|
||||||
|
@@ -3173,6 +3173,7 @@ void wxWindow::InitMouseEvent(wxMouseEvent& event, int x, int y, WXUINT flags)
|
|||||||
event.m_leftDown = ((flags & MK_LBUTTON) != 0);
|
event.m_leftDown = ((flags & MK_LBUTTON) != 0);
|
||||||
event.m_middleDown = ((flags & MK_MBUTTON) != 0);
|
event.m_middleDown = ((flags & MK_MBUTTON) != 0);
|
||||||
event.m_rightDown = ((flags & MK_RBUTTON) != 0);
|
event.m_rightDown = ((flags & MK_RBUTTON) != 0);
|
||||||
|
event.m_altDown = ::GetKeyState(VK_MENU) & 0x80000000;
|
||||||
event.SetTimestamp(s_currentMsg.time);
|
event.SetTimestamp(s_currentMsg.time);
|
||||||
event.m_eventObject = this;
|
event.m_eventObject = this;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user