Commit Graph

31644 Commits

Author SHA1 Message Date
David Surovell
17cfea0162 minor cleanup, part 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:32:47 +00:00
David Surovell
97071cdbff minor cleanup: corrected typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:20:30 +00:00
Michael Wetherell
7c6c0acf9d Silence warning from bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 14:30:30 +00:00
David Surovell
1aa7b427f2 minor cleanup: corrected typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 14:28:30 +00:00
Václav Slavík
5996fb421d fixed wxComboBox::Clear to clear stored value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 12:55:34 +00:00
Włodzimierz Skiba
8ecd5de227 [ 1357527 ] Cast to void to silence GCC's warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 11:05:31 +00:00
Michael Wetherell
b974b0da43 Let TARGET_CPU work with either upper or lower case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 20:13:48 +00:00
David Surovell
80050aa167 corrected comment typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 19:34:43 +00:00
David Surovell
a8d2fb31cb readability cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 18:30:49 +00:00
David Surovell
ec7a8d0256 added missing #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:45:05 +00:00
Vadim Zeitlin
066a357890 IsItemShown/Enabled() are now implemented on more platforms than just wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:29:10 +00:00
Vadim Zeitlin
1661354b77 implemented IsItemEnabled/Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:28:18 +00:00
Vadim Zeitlin
c92ad09968 put user-specified CPP/C/CXXFLAGS after the ones we set from configure to allow overriding them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:24:35 +00:00
Vadim Zeitlin
27c78e4552 1. derive wxGTK wxRadioBox from wxRadioBoxBase now, as in all other ports
2. implemented wxRadioBox::IsItemShown/Enabled() for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:39:23 +00:00
Vadim Zeitlin
f3984afa30 Set major dim after the items have been created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:33:43 +00:00
Vadim Zeitlin
b47f1f95f3 added wxSUPPRESS_GCC_PRIVATE_DTOR_WARNING macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:31:19 +00:00
Vadim Zeitlin
21e0a4d5f1 1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
2. also implement Getcolumn/RowCount() in it now and document them
3. removed various remains of old (pre-wxRadioBoxBase) cruft

sorry in advance for any compilation breakage on the platforms I can't test on


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:28:15 +00:00
Vadim Zeitlin
344d0d8821 suppress gcc warnings about class having private dtor and no friends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 15:35:04 +00:00
Vadim Zeitlin
dc7a2021d5 corrected GetChildren() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 15:27:46 +00:00
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