Commit Graph

12503 Commits

Author SHA1 Message Date
Vadim Zeitlin
74c57d1ff6 fixes to handling of 0 and negative splitter position when splitting it initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:48:02 +00:00
Robin Dunn
689fceb7a7 Updated PyCrust from Patrick O'Brien
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:09:42 +00:00
Vadim Zeitlin
b8125adfd9 applied a fix for the patch 446325
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 16:19:33 +00:00
Vadim Zeitlin
2f159c5849 don't crash if editing of the cell wasn't started for whatever reason (patch 502692)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 16:17:13 +00:00
Vadim Zeitlin
bff4ec6360 wxCursor(wxImage) added (Chris Elliott, patch 517439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:22:58 +00:00
Vadim Zeitlin
1af5934b54 fixes for big endiand machines (Chris Elliott, patch 520879)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:19:25 +00:00
Vadim Zeitlin
40e7f56c71 applied patch for calculating the tree items size with non default font (patch 520965)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:09:13 +00:00
Julian Smart
788519c605 Some more NanoX compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:52:04 +00:00
Julian Smart
20bd88adbc Removed bizarre test code of which I have no recollection...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:46:19 +00:00
Robin Dunn
14afa2cbca Better wrapper for wxListCtrl.GetColumn, and some other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:54:23 +00:00
Robin Dunn
c921c2cd3a Better doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:51:11 +00:00
Robin Dunn
a1bfae9d83 A few tweaks and some cleanup for the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:50:27 +00:00
Robin Dunn
ce22d615fe Fix so the Host: header in wxHTTP really works. With virtual hosts it
is vital that the original host name given in the URL is used in the
Host: header so the sever will use the right vhost config.  Previously
it was using the value returned from gethostbyaddr which will often
not be the same as the hostname in the URL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:01:32 +00:00
Julian Smart
c79a329dcb NanoX modificati
NanoX modifications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 23:19:40 +00:00
Robert Roebling
2e09dc2dc8 Always send an erase event to satisfy some users...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 21:50:17 +00:00
Vadim Zeitlin
6f0dd6b274 fixed SetForegroundColour() for the generic tree ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 17:42:05 +00:00
Vadim Zeitlin
d88a24858a added tests for setting fg/bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 17:41:39 +00:00
Vadim Zeitlin
5c7766de90 added commands to rename the menus and menu items for testing various characters in the menu labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 16:41:35 +00:00
Vadim Zeitlin
a66954a673 fix setting the font for a single-line text control (bug 508169)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 14:38:22 +00:00
Vadim Zeitlin
a8f6ef5190 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:52:46 +00:00
Vadim Zeitlin
fde5a86bda reverted the previous fix, it's no longer needed now after the change to the default base in wxString::ToULong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:27:38 +00:00
Vadim Zeitlin
538f35ccf4 use base 10 by default in wxString::To[U]Long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:24:19 +00:00
Gilles Depeyrot
a8522481f7 corrected typo in Darwin specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 07:22:46 +00:00
Robin Dunn
c9468a241b Fix so the value given to wxTextEntryDialog::SetValue will actually be
used in the entry field.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:53:04 +00:00
Robin Dunn
59840ba3b1 Fix so OGL can build without wxBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:51:08 +00:00
Vadim Zeitlin
ee74faf934 *do* generate the LEAVE events even when the mouse is captured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:39:20 +00:00
Vadim Zeitlin
30827629fa fixed mouse input handling in wxUniv: the static boxes ust be transparent
or the windows inside them don't get any mouse events at all


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:37:47 +00:00
Vadim Zeitlin
d1fe917ba0 don't use border styles for windows in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:52:19 +00:00
Vadim Zeitlin
cfa822b8f1 use WS_CLIPSIBLINGS for wxStaticLine as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:25:54 +00:00
Vadim Zeitlin
6c1285bb5b removed unused test code (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:22:30 +00:00
Vadim Zeitlin
92b0a2a13c don't inherit the controls colours from the parent - at least for the background colour this is not the right thing to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:21:26 +00:00
Vadim Zeitlin
5b2f31eb30 1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them
from overwriting each other when the main window is resized
2. more tweaks to MSWGetStyle() and related code, added a new, easier to use,
   version of MSWCreateControl()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:02:51 +00:00
Václav Slavík
f7b0208507 added an image to wxHTML printing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 23:58:39 +00:00
Robert Roebling
2b328fc942 Added test for default action (button normally)
to combo box when hittinh return. In a normal
    Find&Replace dialog, hitting enter in one of
    the two fields will usually mean "OK".
  Corrected the same test in wxTextCtrl.
  Removed some debug code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 21:48:03 +00:00
Vadim Zeitlin
d150404924 show the resize cursor when the mouse is above the grip and not only when it's just on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 18:00:59 +00:00
Vadim Zeitlin
ec760ec9a0 added GetButton(), some cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 17:50:47 +00:00
Vadim Zeitlin
564225a113 added an error message to wxCopyFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 16:41:27 +00:00
Vadim Zeitlin
e90867579b fixed Unicode-mode only bug in Validate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 15:21:55 +00:00
Vadim Zeitlin
ec64d63207 added a note about parsing numbers with leading zeroes in ToLong/ToULong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 15:06:37 +00:00
Vadim Zeitlin
79067a961d fixed bug in ParseDateFormat() with numbers with leading zeroes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 15:03:00 +00:00
Vadim Zeitlin
072da98f10 don't crash in SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 14:21:49 +00:00
Vadim Zeitlin
9ef63a4a59 typo in style definition fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 13:41:24 +00:00
Stefan Csomor
fb7b53892f respects wxFRAME_TOOL_WINDOW for floaters, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 10:45:27 +00:00
Stefan Csomor
761e1e0702 added default style wxFRAME_TOOL_WINDOW to creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 10:44:34 +00:00
Václav Slavík
d96f63000a fixed a typo (_ instead of wxT)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 23:31:23 +00:00
Václav Slavík
ede7020ab3 better approach to centering windows (in absence of somebody else's solution...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 23:30:41 +00:00
Gilles Depeyrot
f9ee64b135 corrections to dynamic loading for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:17:00 +00:00
Robert Roebling
887dd52f06 Added more wxRegion tests to erase sample.
Implemented "clear now, paint later".
  Corrected colour-by-name lookup.
  Corrected DrawRectangle code which produced
    redraw garbage under wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:13:23 +00:00
Václav Slavík
28f5082b32 checked in forgottern parts of MSLU changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 20:38:59 +00:00
David Webster
1c344e89c6 wxOS2 no longer relies on xpmlib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 04:32:01 +00:00