From 335c9e32fe7c33ab8f1a75703422821cb61931f1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 11 Jan 2002 00:02:48 +0000 Subject: [PATCH] minor wxFRAME_EX_CONTEXTHELP updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/frame.tex | 6 +++++- docs/latex/wx/window.tex | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex index d4bd5a33a1..ff22bbe553 100644 --- a/docs/latex/wx/frame.tex +++ b/docs/latex/wx/frame.tex @@ -47,7 +47,11 @@ wxFRAME\_TOOL\_WINDOW or wxFRAME\_NO\_TASKBAR instead} caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send a wxEVT\_HELP event if the user clicked on an application window. {\it Note} that this is an extended style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction). -You cannot use this style together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX.} +You cannot use this style together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so +you should use +{\tt wxDEFAULT\_FRAME\_STYLE & ~(wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the +frames having this style (the dialogs don't have minimize nor maximize box by +default)} \end{twocollist} The default frame style is for normal, resizeable frames. To create a frame diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 1e27cc048b..a4fceac35d 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -2074,6 +2074,14 @@ default for the reasons explained in the window from being used as an implicit parent for the dialogs which were created without a parent. It is useful for the windows which can disappear at any moment as creating childs of such windows results in fatal problems.} +\twocolitem{\windowstyle{wxFRAME\_EX\_CONTEXTHELP}}{Under Windows, puts a query button on the +caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send +a wxEVT\_HELP event if the user clicked on an application window. +This style cannot be used together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so +you should use the style of +{\tt wxDEFAULT\_FRAME\_STYLE & ~(wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the +frames having this style (the dialogs don't have minimize nor maximize box by +default)} \end{twocollist} \membersection{wxWindow::SetFocus}\label{wxwindowsetfocus} -- 2.47.2