]> git.saurik.com Git - wxWidgets.git/commitdiff
Small mods
authorJulian Smart <julian@anthemion.co.uk>
Fri, 1 Sep 2000 16:48:25 +0000 (16:48 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 1 Sep 2000 16:48:25 +0000 (16:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/dc.tex
src/generic/dirctrlg.cpp
src/msw/window.cpp

index 56a89cfbb92d98e856c87fb8f39b513db29125f4..9af5f09bc430f59f9737cc652972229e8db4c52e 100644 (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.
index 2a98d67f83b24e7228c7154a778591b047107fa2..173eb12a0e48ec9e928b80b84450ac7af616de84 100644 (file)
 #include <ctype.h>
 #endif
 
+#ifdef __BORLANDC__
+#include "dos.h"
+#endif
+
 // If compiled under Windows, this macro can cause problems
 #ifdef GetFirstChild
 #undef GetFirstChild
index 60f71d3082f97cc4404b67fdc2872a2388d50e05..84786c91e83def6f73a81a34e947f547bed14171 100644 (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;