Commit Graph

1206 Commits

Author SHA1 Message Date
Vadim Zeitlin
a4f25aef35 made wxFrame::SendSizeEvent() public and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:03:38 +00:00
Vadim Zeitlin
411165f3f4 added and documented wxProcess::Is{Input|Error}Available() and IsInputOpened
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:20 +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
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
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
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
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
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
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
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
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
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
Julian Smart
298fe32f7a Corrected a few typos and added references to files under docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 08:33:57 +00:00
Robert Roebling
b75b6d4cd7 Added port notes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 07:19:57 +00:00
Mattia Barbon
f811bc9ac0 Made documentation for wxImage::GetData/SetData more explicit about
the fact that wxImage owns the pointer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 21:16:35 +00:00
Mattia Barbon
d3f3e8575a wxPerl documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 16:43:21 +00:00
Vadim Zeitlin
9cc02d047b fixed typo in including function.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 17:03:57 +00:00
Vadim Zeitlin
ab2469043f extracted the constants to their own chapter and documented wxID_ANY and
other standard ids


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:37:43 +00:00
Vadim Zeitlin
552861bf30 typos and other doc corrections from Olly Betts (patch 573738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 15:01:26 +00:00
Vadim Zeitlin
f0f1207339 fixed 2 bugs in 2 lines of wxFileSelector example code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 11:45:37 +00:00
Vadim Zeitlin
ba90345d08 added missing 'R' in RGB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 15:43:52 +00:00
Julian Smart
fc0d5b6bd2 Applied patch [ 565012 ] Add wxTextValidator to wxTextEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:51:32 +00:00
Chris Elliott
2e4b4ec598 fix to tex format documentation for wxSVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 14:34:29 +00:00
Chris Elliott
164e084ab4 wxSVGDC class documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:13:39 +00:00
Vadim Zeitlin
e5251d4f78 fixes to the sizers behaviour necessary to make the log dialog work again
(thanks to Dimitri) and a few updates to the docs after the recent changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:21:20 +00:00
Vadim Zeitlin
aad65f130d new wxASSERT implementation using wxAssert() helper function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 19:37:43 +00:00
Vadim Zeitlin
d070606729 fixed buglet in wxWindow::GetPosition docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:12:36 +00:00