Commit Graph

30758 Commits

Author SHA1 Message Date
Vadim Zeitlin
4f31d61012 added wxChoice:: and wxCombobox::GetCurrentSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:33:31 +00:00
Vadim Zeitlin
b7ee3acf62 added wxDateTime::[Make]FromTimezone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:31:20 +00:00
Vadim Zeitlin
3b6c3fc8c5 test centering file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:27:33 +00:00
Vadim Zeitlin
f0cf38b706 set or unset column image on column click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:27:08 +00:00
Vadim Zeitlin
ba76a609e4 ignore dummy.txt used by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:26:04 +00:00
Vadim Zeitlin
030f50ef4a modified GetLastMenuItem() to also take into account the popup menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:17:29 +00:00
Vadim Zeitlin
7c7f4cff9f let ctags know about (and ignore) WXDLLIMPEXP_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:12:50 +00:00
Vadim Zeitlin
774960ce3c corrected #ifdefs testing wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:11:18 +00:00
Vadim Zeitlin
d8ecf75446 ignore evc libs directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:07:35 +00:00
Vadim Zeitlin
d26adb9df7 Fixed several bugs in wxDateTime timezone handling:
- ToTimezone() and MakeTimezone() now work as expected
 - added and documented FromTimezone() and MakeFromTimezone()
 - Set(double jdn) interprets jdn always in UTC
 - updated ParseRfc822Date() timezone handling
 - removed workarounds for old bugs from the test


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:06:36 +00:00
Mattia Barbon
5378558e5c No significant changes. Remove reliance on wx/bookctrl.h being
included in wx/sizer.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:54:56 +00:00
Mattia Barbon
17ec440be6 Add recent wxMotif changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:31:22 +00:00
Mattia Barbon
13abe5c0c8 Improved wxStaticBox border calculation for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:07:34 +00:00
Mattia Barbon
a7f17c90e5 Remove useless code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:05:33 +00:00
Mattia Barbon
8b7b0d67b0 All toplevel windows without the wxNO_BORDER style should
have a border under MWM, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:02:13 +00:00
Mattia Barbon
6bae67261c Improve sizer support in generic wxNotebook. Fix the widgets sample
to take advantage of it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:00:25 +00:00
Mattia Barbon
d30814cdf2 Under wxMotif, default buttons are bigger than other buttons,
hence Realize() must be called after default button has been set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 07:55:43 +00:00
Mattia Barbon
4e025aa206 Implement GetMinSize for wxMotif wxButton. Helps solfing sizing
problems in generic common dialogs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 07:51:59 +00:00
Vadim Zeitlin
3e81caa51b added wxABI_VERSION test around ToDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 00:34:37 +00:00
Vadim Zeitlin
2bb7951e0c added wxLongLong::ToDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 00:33:20 +00:00
Vadim Zeitlin
e7aaf2dedd added wxLongLong::ToDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 00:03:30 +00:00
Vadim Zeitlin
0f71b9da7f added operator==() and !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-27 19:29:06 +00:00
Stefan Csomor
2c1dbc95e1 several fixes, guards, and an implementation for removal of native toolbar items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-27 16:43:19 +00:00
Stefan Csomor
0e71e8459f allowing a clear of a graphic context, and set the pen and brush after a graphics restore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-27 13:57:48 +00:00
Stefan Csomor
c725df80c5 save correctly oriented GraphicState and clear Context before destruction (is invalid at that point)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-27 13:55:49 +00:00
Vadim Zeitlin
53e2e87c9b open fstream with ios::binary flag to be compatible with wxFileStream and to avoid mangling binary files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-26 22:52:29 +00:00
Julian Smart
58161defc3 Warning corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-26 08:21:43 +00:00
Chris Elliott
966b84b914 fix gpf in mdi sample with motif when child is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 21:58:22 +00:00
Vadim Zeitlin
3147bb585a pressing enter now activates the default button even when the focus is on a checkbox or radio button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 19:27:43 +00:00
Vadim Zeitlin
8dbb7967d4 don't mention undocumented wxOwnerDrawn in the docs (patch 1267562)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 19:16:53 +00:00
Vadim Zeitlin
f8387e15ee only give error about missing richedit.dll once (the code was already supposed to work like this but didn't, patch 1273177)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 19:14:44 +00:00
Włodzimierz Skiba
d110378748 [ 1273159 ] logical vs. bitwise operators, part 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 19:10:47 +00:00
Włodzimierz Skiba
3b9b80c0e2 RTTI and exceptions settings for WinCE are restored.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 16:31:42 +00:00
Mart Raudsepp
b20cb04588 [wxGTK2] Check if a family wasn't found for the description in GetFamily()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 12:46:57 +00:00
Michael Wetherell
a379a35f4b Make TEST_DIR the current test, so that the djgpp build can work on the tinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 11:17:06 +00:00
Mattia Barbon
101b477808 As reported by Chris Elliott some releases of Lesstif crash
when setting the font list of a widget. The code is disabled for
now for all Lesstif versions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 21:29:09 +00:00
Václav Slavík
07910a9a7e install bakefile presets (patch 1253143)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 19:20:18 +00:00
Włodzimierz Skiba
dbcf11198a Warning fix for wxLogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 18:35:30 +00:00
Włodzimierz Skiba
5c66e5b2b2 Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:56:29 +00:00
Włodzimierz Skiba
71307412f5 Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:47:11 +00:00
Vadim Zeitlin
5e23e2d59a compilation fix for systems with XtIMSignal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:36:00 +00:00
Vadim Zeitlin
4c620d1900 compilation fix: DefaultVisual() needs Display, not WXDisplay (and code cleanup in wxGetSubPixmap() as well)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 15:41:33 +00:00
Michael Wetherell
cfd1ac216d Move LabelWrapper, TextSizerWrapper classes out of function body to accommodate some older compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 14:59:36 +00:00
Vadim Zeitlin
4f66d445e1 fixed -Wundef warning for HAVE_SCHED_H
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 12:11:14 +00:00
Vadim Zeitlin
60e4975cb8 fix for -Wundef warning for HAVE_XIM under GTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 11:17:05 +00:00
Vadim Zeitlin
285ba64d0d #undef things which require other, disabled, ones, instead of re-#defining them as 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 11:16:04 +00:00
Vadim Zeitlin
8a43eaecc1 corrected comment explaining wxABORT_ON_CONFIG_ERROR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 11:14:27 +00:00
Włodzimierz Skiba
470731287a wxUSE_STATTEXT guard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 07:57:49 +00:00
Włodzimierz Skiba
88d2e56706 [1267725] Wrong operator for logical/bitwise operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 06:32:56 +00:00
Mart Raudsepp
d332c51456 [wxGTK2] Don't duplicate code inside wxFontRefData::InitFromNative()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 00:25:19 +00:00