Typos and other fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-11 11:42:06 +00:00
parent b28d3abf7e
commit 6a44bffd1a
5 changed files with 22 additions and 15 deletions

View File

@@ -216,7 +216,7 @@ void wxWindowX11::SetFocus()
XWMHints wmhints;
wmhints.flags = InputHint;
wmhints.input = True;
XSetWMHints(wxGlobalDisplay(), wMain, &wmhints)
XSetWMHints(wxGlobalDisplay(), wMain, &wmhints);
}
}
@@ -326,7 +326,6 @@ void wxWindowX11::DoCaptureMouse()
res = XGrabKeyboard(wxGlobalDisplay(), (Window) GetMainWindow(),
FALSE,
ShiftMask, LockMask, Control-Mask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, and Mod5Mask.,
GrabModeAsync,
GrabModeAsync,
CurrentTime);
@@ -1311,7 +1310,7 @@ bool wxWindowX11::SetBackgroundColour(const wxColour& col)
return FALSE;
XSetWindowAttributes attrib;
attrib.background_pixel = col.AllocColour(wxGlobalDisplay());
attrib.background_pixel = ((wxColour&)col).AllocColour(wxGlobalDisplay());
XChangeWindowAttributes(wxGlobalDisplay(),
(Window) GetMainWindow(),