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
Vadim Zeitlin
c1cb41536a
added wxGetProcessId()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 20:26:24 +00:00
Vadim Zeitlin
2edb0bdef6
applied typos and spelling error fixes patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:15:28 +00:00
Julian Smart
57fc4c1a2c
Added documentation for wxHelpProvider::RemoveHelp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 21:11:55 +00:00
Robin Dunn
90a6f1cca8
Give wxMSW's wxDirDialog support for wxDD_NEW_DIR_BUTTON
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 16:30:13 +00:00
Robin Dunn
af79fc6f08
Fix and update the note about handling EVT_KEY_DOWN preventing
...
EVT_CHAR from being sent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 19:27:33 +00:00
Vadim Zeitlin
b0a2d8a882
added and documented wxTIMER_XXX constants to be used instead of bool parameter to wxTimer::Start()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 14:59:52 +00:00
Robert Roebling
f89a1397df
Doc tweaks for FindWindowByXX
...
Docs for SetThemeEnabled
Docs for wxToolBar::FindControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 09:59:00 +00:00
Robert Roebling
e3ba9f8828
Documented wxClienData and friends.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 07:41:46 +00:00
Julian Smart
feaca34f34
Corrected some typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-29 08:28:03 +00:00
Vadim Zeitlin
d30ff492f0
corrected the completely wrong example (bug 545427)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 17:14:59 +00:00
Robin Dunn
107ffdc16d
Fixed a tex2rtf warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:47:21 +00:00
Robin Dunn
479101cac1
Changed the default style flags on wxSplashScreen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:23:10 +00:00