Commit Graph

12492 Commits

Author SHA1 Message Date
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
David Webster
98edf62696 Use xpmdecod instead of xpmhand.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 04:30:35 +00:00
Václav Slavík
136cb3c7a9 more MSLU fixes and moved MSLU stuff into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:35:18 +00:00
Václav Slavík
4d90b8de01 Unicode fixes and warnings cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:34:51 +00:00
Václav Slavík
cb7acf9cc7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:30:27 +00:00
Václav Slavík
3d5231db07 more MSLU fixes and moved MSLU stuff into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:29:25 +00:00
Václav Slavík
6af638ed35 cache return value of wxGetOsVersion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:28:16 +00:00
Vadim Zeitlin
0c9a1c3279 set WXWIN_COMPATIBILITY_2_2 to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:59:27 +00:00
Vadim Zeitlin
0b06ac1f24 compilation fixes after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:53:41 +00:00
Vadim Zeitlin
c8531822d5 added SetString(), deprecated SetLabel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:45:08 +00:00
Vadim Zeitlin
89c986535c compilation warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:44:40 +00:00
Vadim Zeitlin
912c192f7b fixes for MSWGetCreateWindowFlags signature change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:44:29 +00:00