From 706bb5f973ccb44a924ee1f9aa79c7ee34eb2556 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 8 Mar 1999 11:22:31 +0000 Subject: [PATCH] Small changes incl. making wxTAB_TRAVERSAL always on in wxDialog (wxMSW) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/msw/generic.rsp | 1 - distrib/msw/makefile.rsp | 42 ++++++++++++++++++++++++++++++++++++++ distrib/msw/zipdist.bat | 2 +- docs/latex/wx/function.tex | 4 ++-- src/msw/dialog.cpp | 3 +++ 5 files changed, 48 insertions(+), 4 deletions(-) diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp index e8e34f79ac..8c108c03d6 100644 --- a/distrib/msw/generic.rsp +++ b/distrib/msw/generic.rsp @@ -311,7 +311,6 @@ samples/mdi/bitmaps/*.xbm samples/minimal/*.cpp samples/minimal/*.h samples/minimal/*.def -samples/minimal/Makefile.in samples/minimal/makefile* samples/minimal/*.xbm samples/minimal/*.xpm diff --git a/distrib/msw/makefile.rsp b/distrib/msw/makefile.rsp index 5ea9d41790..68bb8fefe9 100644 --- a/distrib/msw/makefile.rsp +++ b/distrib/msw/makefile.rsp @@ -1,43 +1,85 @@ samples/bombs/Makefile.in +samples/bombs/Makefile samples/checklst/Makefile.in +samples/checklst/Makefile samples/config/Makefile.in +samples/config/Makefile samples/controls/Makefile.in +samples/controls/Makefile samples/db/Makefile.in +samples/db/Makefile samples/dde/Makefile.in +samples/dde/Makefile samples/dialogs/Makefile.in +samples/dialogs/Makefile samples/dnd/Makefile.in +samples/dnd/Makefile samples/docview/Makefile.in +samples/docview/Makefile samples/docvwmdi/Makefile.in +samples/docvwmdi/Makefile samples/dynamic/Makefile.in +samples/dynamic/Makefile samples/forty/Makefile.in +samples/forty/Makefile samples/fractal/Makefile.in +samples/fractal/Makefile samples/grid/Makefile.in +samples/grid/Makefile samples/help/Makefile.in +samples/help/Makefile samples/image/Makefile.in +samples/image/Makefile samples/internat/Makefile.in +samples/internat/Makefile samples/layout/Makefile.in +samples/layout/Makefile samples/listctrl/Makefile.in +samples/listctrl/Makefile samples/mdi/Makefile.in +samples/mdi/Makefile samples/memcheck/Makefile.in +samples/memcheck/Makefile samples/minifram/Makefile.in +samples/minifram/Makefile samples/minimal/Makefile.in +samples/minimal/Makefile samples/notebook/Makefile.in +samples/notebook/Makefile samples/png/Makefile.in +samples/png/Makefile samples/printing/Makefile.in +samples/printing/Makefile samples/proplist/Makefile.in +samples/proplist/Makefile samples/resource/Makefile.in +samples/resource/Makefile samples/sashtest/Makefile.in +samples/sashtest/Makefile samples/splitter/Makefile.in +samples/splitter/Makefile samples/tab/Makefile.in +samples/tab/Makefile samples/thread/Makefile.in +samples/thread/Makefile samples/toolbar/Makefile.in +samples/toolbar/Makefile samples/treectrl/Makefile.in +samples/treectrl/Makefile samples/typetest/Makefile.in +samples/typetest/Makefile samples/validate/Makefile.in +samples/validate/Makefile samples/wxpoem/Makefile.in +samples/wxpoem/Makefile samples/wxsocket/Makefile.in +samples/wxsocket/Makefile src/Makefile.in +src/Makefile utils/ogl/samples/ogledit/Makefile.in +utils/ogl/samples/ogledit/Makefile utils/ogl/samples/studio/Makefile.in +utils/ogl/samples/studio/Makefile utils/ogl/src/Makefile.in +utils/ogl/src/Makefile diff --git a/distrib/msw/zipdist.bat b/distrib/msw/zipdist.bat index d4844441e0..1f6654a780 100755 --- a/distrib/msw/zipdist.bat +++ b/distrib/msw/zipdist.bat @@ -1,6 +1,6 @@ @echo off rem Zip up an external, generic + Windows distribution of wxWindows 2.0 -set src=d:\wx2\wxWindows +set src=%wxwin set dest=%src\deliver if "%src" == "" goto usage if "%dest" == "" goto usage diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index cefcaf86fd..1c17ad1074 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -359,7 +359,7 @@ the front when the dialog box is popped up. Pops up a file selector box. In Windows, this is the common file selector dialog. In X, this is a file selector box with somewhat less functionality. The path and filename are distinct elements of a full file pathname. -If path is NULL, the current directory will be used. If filename is NULL, +If path is empty, the current directory will be used. If filename is empty, no default filename will be supplied. The wildcard determines what files are displayed in the file selector, and file extension supplies a type extension for the required filename. Flags may be a combination of wxOPEN, @@ -380,7 +380,7 @@ types of file with a description for each, such as: "BMP files (*.bmp) | *.bmp | GIF files (*.gif) | *.gif" \end{verbatim} -The application must check for a NULL return value (the user pressed +The application must check for an empty return value (the user pressed Cancel). For example: \begin{verbatim} diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 60ee421c69..6b335758d2 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -111,6 +111,9 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, if (height < 0) height = 500; + // All dialogs should really have this style + m_windowStyle |= wxTAB_TRAVERSAL; + WXDWORD extendedStyle = MakeExtendedStyle(m_windowStyle); if (m_windowStyle & wxSTAY_ON_TOP) extendedStyle |= WS_EX_TOPMOST; -- 2.45.2