Commit Graph

1719 Commits

Author SHA1 Message Date
Vadim Zeitlin
e1756d2af5 removed a few already implemented entries, added 3-satte checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 19:12:13 +00:00
Julian Smart
131f9d9b19 Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW
Proposed fixes for the wxWindows joystick code under
MSW.
Some of these would be valid for other platforms, too.

Events for buttons are named wrong, docs say different.
Docs say EVT_JOY_BUTTON_DOWN and
EVT_JOY_BUTTON_UP,
but the code says EVT_JOY_DOWN and EVT_JOY_UP. I
suggest
changing the code to match the docs.

wxJoystick::GetNumberJoysticks() should be a static
member
function. Having to create a joystick object to see if there
are joysticks is silly.

Docs for GetNumberJoysticks() must be changed; it returns
the
number of potentially connected joysticks, not the number of
actually connected. Alternatively, GetNumberJoysticks() and
others must be rewritten to conform with documentation,
including
remapping of wxWindows sequential joystick ID's to match
MSW non-sequential joystick ID's.

dwSize is not set when joyGetPosEx() is called. SEVERE
ERROR.

Error return value from functions should not be a legal
return,
for instance, wxJoystick::GetPOVCTSPosition() returns 0
for error,
but this is a legal return value.

GetButtonState() supports only four (out of 32) buttons.
Also, should return as bitmap (LSB = button 1). (Win32
does this,
although not documented as such).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:05 +00:00
Robert Roebling
3fc6e5fa23 Added scrolling of widgets to GTK 2.0.
Removied obsolete ifdef from toolbar code.
  Updated readme.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:48:14 +00:00
Vadim Zeitlin
8dce54c9e6 added support for wxCONFIG_USE_NO_ESCAPE_CHARACTERS flag to wxFileConfig (patch 591381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:29:22 +00:00
Julian Smart
7666ad4935 Added brief instructions for compiling wxMSW with configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:11:55 +00:00
Vadim Zeitlin
fb848f582b added mentions of internat sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:41:45 +00:00
Vadim Zeitlin
b3e51e0f0f updated mutex and semaphore docs to reflect the new API (patch 593994)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:25:21 +00:00
Julian Smart
8dafe2c7d5 Incremented version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 11:51:14 +00:00
Julian Smart
b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
Julian Smart
1241ab8ba0 Added EVT_JOY_BUTTON_... macros as per the manual,
retained the old names for compatibility.
Changed 2.3.2 to 2.3.3 in a couple of files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 16:09:40 +00:00
Julian Smart
c482b99ec9 Use wxGenericImageList for wxMSW/wxUniv now; this
allows us to remove the MSW-specific code in wxUniv's wxNotebook
(maybe elsewhere?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 22:42:58 +00:00
Julian Smart
7be6137a8c Further installation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 18:24:23 +00:00
Julian Smart
e492150d40 Corrected HTML index, other distro-related tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 14:10:52 +00:00
Julian Smart
ba637f22e6 Corrected files for PDF RTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 21:07:48 +00:00
Julian Smart
6b2878de13 Applied patch [ 594623 ] FL: No Taskbar entry for tool windows
and also replaced -with-iodbc with -with-odbc in the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:31:53 +00:00
Julian Smart
4f3b37fd0e Applied patch [ 594416 ] MDI Previous Child
From Benjamin I. Williams


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 09:55:54 +00:00
Vadim Zeitlin
1cbee0b42c the app doesn't exit any more if a dialog is shown (and destroyed) while
the flow of control is still in OnInit()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:42:07 +00:00
Vadim Zeitlin
62b77e42be some old minor doc fixes I forgot to commit somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:38:39 +00:00
Vadim Zeitlin
b79a8705e6 added wxList::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 19:38:46 +00:00
Julian Smart
b318dc4237 Applied patch [ 579219 ] wxNotebook:SetPadding added
This allows changing the padding of the icons and text
in the tab of a wxNotebook for wxGTK.

Since the container in the tab is only a horizontal
container only the width component is used. Negative
values are acceptable so no checks were made.

It now defaults to a padding of 0 on the sides and 1 in
between the icon and label, looks good for a few
"themes" I tried.

Note: Unfortunately there is no function to set the
padding on the left or right side of a widget.
gtk_box_set_child_packing sets padding on BOTH sides of
a widget so you'd get double the spacing between an
icon and the label. To get around this, the icon (if
there was one) is removed and added back. That way the
icon will provide the padding on the left and the label
will provide the padding between and to the right. It
looks nice for all sizes. The
gtk_container_set_border_width unforuntately only adds
borders to ALL sides equally.

A simple check is to add m_notebook->SetPadding in one
in the spinctrl callback in the controls sample. (set
appropriate range too -10,20). Note that the tab sizes
change to fit the width of the panel, if appropriate,
and so the spacing between the icon and label changes
accordingly. This isn't a bug, but it does look weird
as you scan up and down the spacing (which nobody would
normally do).

I also changed all wxGtkNotebookPage variables to
nb_page so that "int page" would be used to mean the
page number. Just cosmetic for consistency with the
rest of the functions that were already like that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:11:32 +00:00
Julian Smart
5b222f1c9e Applied patch [ 587450 ] Scoped Smart pointers and docs
By Jesse Lovelace (thementat)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:57:05 +00:00
Julian Smart
73c3b37be1 Applied patch [ 589903 ] Update doc for CW/wxMSW install
This patch updates the CW section in
docs/msw/install.txt for the development (2.3.3) branch.

It fixes a couple typos and clarifies how to use the
minimal project file as a template for other projects.

Igor Mikolic-Torreira
igormt@alumni.caltech.edu


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:46:35 +00:00
Julian Smart
1c507b171a Applied patch [ 592063 ] generic notebook does not OnSelChanging
Misc other mods


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 08:54:49 +00:00
Vadim Zeitlin
0532a25881 added a more convenient version of wxFileType::GetOpenCommand()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:49:38 +00:00
Mattia Barbon
ef357cdac2 Mention wxMessageOutput in changes.txt
wxMessageOutputLog now available in all ports


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 23:30:55 +00:00
Mattia Barbon
09c1ea8517 Documented wxMotif changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 18:26:11 +00:00
Julian Smart
90a1a975d4 Applied patch [ 588734 ] Makes ProcessIdle() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
David Webster
0deff0880d Installation file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 15:38:19 +00:00
Václav Slavík
26a0063198 How to use MSLU with MSVC/nmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 22:28:28 +00:00
Václav Slavík
1e8724e634 added a section on when to delete global objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:47 +00:00
Václav Slavík
1233cee549 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:42 +00:00
Václav Slavík
f9363b96c4 1. clarified relation between XRC .xrs files and ZIPs
2. some minor additions to XRC docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:36 +00:00
Vadim Zeitlin
ebeb769638 corrected Enable() docs to correspond to the real method signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 17:07:05 +00:00
Julian Smart
2c519e86c2 Added wxMotif comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:32:52 +00:00
Julian Smart
f44b23b6f7 Changed main ftp address to ftp://biolpc22.york.ac.uk/pub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 13:37:07 +00:00
Julian Smart
3cd94a0d11 Applied patch [ 583922 ] Make generic/wxListCtrl avail. in WIN32
Generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
renamed to wxGenericImageList, so they can be used on wxMSW
(Rene Rivera).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 08:51:49 +00:00
Václav Slavík
a99acbb00a Unicodification of wxDataStreams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 22:29:08 +00:00
Vadim Zeitlin
aa8e9a36c4 added (and documented) trivial but useful IsSingleLine() and IsMultiLine() text control methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:51:04 +00:00
Vadim Zeitlin
8d0a0c3f5a mention that usually wxGetUserId() should be used to construct the lock name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 12:38:34 +00:00
Robin Dunn
9b9337da0c Moved the check for page scrolling with the wheel into wxMouseEvent so
it wouldn't have to be duplicated everywhere.

Also fixed wxSTC so it can handle wheel page scrolling too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 21:11:31 +00:00
Julian Smart
250b589f71 Applied patch [ 581139 ] Misc wxCmdLineParser changes/fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:53:02 +00:00
Vadim Zeitlin
a7fd7c7851 wxSTAY_ON_TOP support in wxMessageBox (patch 581826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 23:36:53 +00:00
Vadim Zeitlin
986ecc861c added wxEXPLICIT macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:03:44 +00:00
Václav Slavík
a0a26e4316 minor mgl/install.txt updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 11:45:12 +00:00
Robin Dunn
feb6cde446 Assert that wxEXEC_SYNC is not passed in flags to wxProcess::Open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:10:26 +00:00
Robin Dunn
e626d7c787 Changed wxProcess::Open to take a flags arg to pass to wxExecute.
Fixed a few _'s without \'s in the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 23:25:14 +00:00
Vadim Zeitlin
da00a8bb16 added and documented wxProcess::Open()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:15:49 +00:00
Julian Smart
b23e843b99 Added wxView::OnClosingDocument so the application can do
cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 16:08:03 +00:00
Julian Smart
05dedde7d0 Removed some inappropriate use of verbatim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 09:06:56 +00:00
Vadim Zeitlin
dd56228c02 extracted the scroll events docs in a single file which is now included by all the others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:34:31 +00:00