Vadim Zeitlin
b03cd7e68f
added test for wxString::Format() string truncation for longer strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 14:50:54 +00:00
Vadim Zeitlin
de2589be08
avoid multiple reallocations in wxString::PrintfV() if vsnprintf() returns the total required size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 14:49:47 +00:00
Vadim Zeitlin
42413abf11
removed sentence about ParseDateTime() not being implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 13:32:14 +00:00
Michael Wetherell
7ab86a6a27
Make behaviour of Eof() more consistent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 13:14:00 +00:00
Michael Wetherell
8e50d1add6
Make Eof() consistent with other streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 12:41:48 +00:00
David Surovell
4d53859584
minor refactoring of menu UpdateUI handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:59:38 +00:00
Włodzimierz Skiba
0b04c4e0bd
Missing wxUSE_PALETTE markup ( #1369489 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:58:37 +00:00
Włodzimierz Skiba
7e04489676
Missing wxUSE_JOYSTICK markup ( #1369478 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:43:06 +00:00
Ron Lee
a55d039a23
Output deprecated warning for --rezflags and permanently disable it.
...
Remove WXCONFIG_POSTLINK_COMMAND that existed only for it.
Make the explanation more explanatory. This is not an invitation
for stray options and script helpers to do a little 'open mike',
its a holding ground for nasty things we still need to fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 06:36:05 +00:00
Vadim Zeitlin
a815cb29f2
removed (now) unnecessary errno.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 02:42:39 +00:00
Vadim Zeitlin
00dc67b891
fixed bug in wxSizerFlags::Align/Expand() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 23:05:50 +00:00
Vadim Zeitlin
b1727cfef7
don't expect errno to be set to EOVERFLOW if vsnprintf() fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 22:59:02 +00:00
Vadim Zeitlin
455c8f1d55
don't clip out hidden radiobox buttons: otherwise they're displayed incorrectly when themes are in use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 22:10:04 +00:00
Vadim Zeitlin
3bfa7be977
added wxRadioBox::IsItemEnabled/Shown() (for MSW only for now, other platforms to come); corrected Enable/Show() return values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 19:26:38 +00:00
Michael Wetherell
2f1834d9f2
Remove pragma interface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 17:48:10 +00:00
David Surovell
8cd9896942
cleaned up comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 17:41:06 +00:00
Michael Wetherell
bf085665fd
It seems that wxFileInput/OutputStream now report eof after the last byte has
...
been read past, so change docs to match.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 14:09:01 +00:00
Mart Raudsepp
da9e956384
Make wxJoystick::GetNumberJoystick a static method, as the number of
...
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Julian Smart
b377eda09d
Removed duplicate xh_grid.cpp/h and rebaked files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 09:03:35 +00:00
Julian Smart
3f97aec58a
Made explanation more concise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 08:57:05 +00:00
Ron Lee
004ee6daa7
Fix include dirs for windres, enable emxbind to actually produce output,
...
restore RESCOMP for backward compatibility and forward availability.
Check for windres again. Whatever bakefiles do with it, they do not
make it available to configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 05:17:05 +00:00
Vadim Zeitlin
dbcca2fa1f
added xrc/xh_grid.{h|cpp} and regenerated makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 01:19:22 +00:00
Vadim Zeitlin
8c17c7a633
define REZ option (fixes problem with rebaking wx.bkl for autoconf format)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 01:17:18 +00:00
Vadim Zeitlin
f5e3d9463b
guard grid XRC handler by #if wxUSE_GRID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 00:54:02 +00:00
David Surovell
7ec81a8c2d
fixed improper (long) casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 22:24:00 +00:00
David Surovell
a8cb1a4947
changed background color reference from light gray to assigned bkgd color
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 15:27:09 +00:00
Vadim Zeitlin
4292eeb4eb
fix unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 00:19:38 +00:00
Stefan Neis
8a064d5cef
Cleaned up some erroneous stuff from previous commit, added HAVE_GETADDRINFO
...
to setup.h.in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 21:42:51 +00:00
Stefan Neis
c5f975dddb
Applied patch #1198422 (CheckBox labels being truncated).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 21:30:40 +00:00
Michael Wetherell
9630cac5fc
Take out wxASSERTs since they give a warning with gcc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 18:12:37 +00:00
Michael Wetherell
24c96d96bc
wx_wcscmp is only used in unicode mode so wrap in #if wxUSE_UNICODE to avoid
...
a warning about an unused function, and clean up the function at the same time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 18:04:06 +00:00
Michael Wetherell
f489770c10
Do CloseEntry internally when OpenEntry called on an already open stream.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 17:55:00 +00:00
Stefan Neis
bebf40d5a0
Detect thread-safe versions of gethostbyname/gethostbyaddr/getservbyname
...
and how many arguments they use.
Detect thread-safe versions of localtime/gmtime and readdir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 17:46:39 +00:00
Vadim Zeitlin
b21348b405
don't compare bools with NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 14:03:36 +00:00
Michael Wetherell
9b70ed7b55
Small fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 09:29:46 +00:00
Michael Wetherell
4c9847e14e
Small fixes to allow compilation with --enable-stl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 02:03:40 +00:00
Michael Wetherell
b271d60d6a
Small fixes to allow compilation in Unicode mode with gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 02:01:21 +00:00
Michael Wetherell
548bbe143b
Replace non-ascii characters with escapes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 01:58:19 +00:00
Michael Wetherell
c1d8296a78
Silence warning about truncation since the comment says it ok
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 01:56:51 +00:00
David Surovell
e88df737fb
fixed GetFreeMemory decl. to match wxWidgets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 23:27:21 +00:00
Vadim Zeitlin
8aeeb05c0e
renaming of variables in rev 1.1090 introduced a clash between 2 different DEBUG_FLAG variables, so renamed the one containing debugging options for the compiler to DEBUG_CFLAGS to avoid it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 15:42:12 +00:00
Vadim Zeitlin
4ad76303b5
include missing header; add default values for wxPlotWindow ctor pos and size parameters for consistency with all the other wx classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 14:40:32 +00:00
Michael Wetherell
8875e7ad84
Only define wxIntegerHash::longlongHash when long long isn't long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:40:54 +00:00
Vadim Zeitlin
dddd1f21c1
added helper for visual sizers debugging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:09:23 +00:00
Vadim Zeitlin
cc11ded1ae
made wxTreeTraversal and wxIDropSources dtors virtual (patch 1311828)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:08:09 +00:00
Vadim Zeitlin
9ad34f611f
implemented wxGetFreeMemory() under IRIX (patch 1360356); made wxMemorySize always 64 bit as it can overflow even in 32 bit builds otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 22:09:22 +00:00
Vadim Zeitlin
2cdf244521
fix warnings about casting regmatch_t struct fields to size_t
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 21:49:00 +00:00
David Elliott
8ced02f601
Ran make -f build/autogen.mk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 05:17:36 +00:00
David Elliott
891ace0538
Separate RESCOMP into WINDRES (for Win32) and REZ (for Mac OS).
...
Don't check for windres as bakefile.m4 now does it properly.
Rename MACRESCOMP to POSTLINK_COMMAND.
Rename MACRESWXCONFIG to WXCONFIG_POSTLINK_COMMAND.
Use newest bakefile.m4 (with similar changes).
Add --rezflags option back to wx-config so existing user Makefiles don't break.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 04:51:08 +00:00
Włodzimierz Skiba
9cd03a43ce
Minor improvements and cleanings after recent WinCE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 20:16:31 +00:00