From: Julian Smart Date: Fri, 1 Sep 2000 16:48:25 +0000 (+0000) Subject: Small mods X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/267a7108512069169a855457d027cd68fed5bf2e Small mods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 56a89cfbb9..9af5f09bc4 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -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. diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 2a98d67f83..173eb12a0e 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -53,6 +53,10 @@ #include #endif +#ifdef __BORLANDC__ +#include "dos.h" +#endif + // If compiled under Windows, this macro can cause problems #ifdef GetFirstChild #undef GetFirstChild diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 60f71d3082..84786c91e8 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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;