Small mods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-09-01 16:48:25 +00:00
parent 25093cf311
commit 267a710851
3 changed files with 6 additions and 2 deletions

View File

@@ -213,8 +213,7 @@ filling the shape.
\param{double}{ start}, \param{double}{ end}}
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
X window and PostScript device contexts.
the current brush is used for drawing the pie.
{\it x} and {\it y} specify the x and y coordinates of the upper-left corner of the rectangle that contains
the ellipse.

View File

@@ -53,6 +53,10 @@
#include <ctype.h>
#endif
#ifdef __BORLANDC__
#include "dos.h"
#endif
// If compiled under Windows, this macro can cause problems
#ifdef GetFirstChild
#undef GetFirstChild

View File

@@ -3173,6 +3173,7 @@ void wxWindow::InitMouseEvent(wxMouseEvent& event, int x, int y, WXUINT flags)
event.m_leftDown = ((flags & MK_LBUTTON) != 0);
event.m_middleDown = ((flags & MK_MBUTTON) != 0);
event.m_rightDown = ((flags & MK_RBUTTON) != 0);
event.m_altDown = ::GetKeyState(VK_MENU) & 0x80000000;
event.SetTimestamp(s_currentMsg.time);
event.m_eventObject = this;