Commit Graph

18978 Commits

Author SHA1 Message Date
Julian Smart
9db1b54074 Fix for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:20:30 +00:00
Julian Smart
530b74d7c6 Fixes for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:31:59 +00:00
Julian Smart
08469b1f18 Compile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:05:11 +00:00
Julian Smart
50acee04cd Initial commit of wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:12:07 +00:00
Julian Smart
90f9b8ef0c Reverted last wxBookCtrl change and added alignment check to notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 12:53:31 +00:00
Julian Smart
926395e16b Each book control should say what its default orientation. Use this info
if no alignment style, otherwise assertion will happen in GetPageRect.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:05:22 +00:00
Julian Smart
dd61c39df2 Suppress assertion when the array is sorted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:03:31 +00:00
Julian Smart
62ad77afbd If a base font mapper object was created prematurely before the traints
object was created, delete it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:02:09 +00:00
Włodzimierz Skiba
fec9cc08e7 Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 07:23:19 +00:00
Stefan Neis
90075c0892 Removed some focus handling that was to general and did break e.g. combobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 19:35:08 +00:00
Michael Wetherell
08f30494b0 Fix alignment issue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 19:07:26 +00:00
Stefan Neis
c9ab2da6f8 Fixed brush realization as suggested by Franz Bakan.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:47:22 +00:00
Stefan Neis
da51aebeec Improved error handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:08:40 +00:00
Mart Raudsepp
5503a51cac Do not set the wmclass for toplevels. This MUST be unique across the application, and GTK takes care of it for us
- don't screw it over.
Change it to set_role instead, but #if 0 out for now until some discussion about potential affect of this to
existing applications.
Toplevels that have a role set can be handled by the window manager, and store the positiong and size for them,
and restore it on later occasion. If apps do stupid things like don't have unique motif names set for different
toplevels, then this can cause problems with backwards compatibility. I am in favor of doing set_role, but it
needs a little discussion and testing.
Setting WM_CLASS is definately wrong, so just get rid of that till then.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:57:37 +00:00
Michael Wetherell
a9b4774c05 Build fix for motif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:12:45 +00:00
Vadim Zeitlin
a893b65e62 fixed memory leak introduced by dynamic wxMimeTypesManagerImpl creation (rev. 1.44 of mimecmn.cpp) changes; also renamed wxMimeTypesManagerFactory::Get/SetFactory() to just Get/Set()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:01:46 +00:00
Włodzimierz Skiba
b0b5881aea Include wx/radiobut.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:46:15 +00:00
Paul Cornett
fb18afdd86 avoid gtk assert on negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 21:18:45 +00:00
Vadim Zeitlin
3e0630be8a use wxImage to load icons in non-native formats
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 15:51:39 +00:00
Vadim Zeitlin
852b6c3ce7 silence gcc warnings about values not handled in switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:55:10 +00:00
Vadim Zeitlin
3b6da0a258 printf format spec warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:51:10 +00:00
Vadim Zeitlin
d4cd85a064 on some systems PBT_APMRESUMESUSPEND is not sent on resume but PBT_APMRESUMEAUTOMATIC is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:27:06 +00:00
Paul Cornett
a2a7ad6ccd build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 06:19:33 +00:00
Vadim Zeitlin
eaba6eba3a wxArrayString::Sort() wasn't MT-safe even though it tried to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 22:32:36 +00:00
Paul Cornett
c757b5fee0 correct access for virtuals, unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 19:20:23 +00:00
Paul Cornett
8ea30e3603 don't generate a scroll event when setting scroll position from scroll event handler
fix setting scroll position from thumb release event handler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 18:35:29 +00:00
Stefan Csomor
333026dcb0 Fixes and XCode 2.3 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 15:27:13 +00:00
Michael Wetherell
556151f5ff Commit pickers-fixes.patch added to 1472329 (Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 12:00:30 +00:00
Michael Wetherell
7ba03e3cd2 Revert previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 10:20:13 +00:00
Michael Wetherell
9a8362297a Lazy creation of the picker dialogs (Francesco).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 08:17:23 +00:00
Jouk Jansen
cc57f388d7 Updated OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 06:39:13 +00:00
Włodzimierz Skiba
3700569251 uxtheme.h provides symbols regardless wxUSE_UXTHEME flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 23:56:23 +00:00
Włodzimierz Skiba
cc11cc6918 Include wx/radiobox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 20:52:09 +00:00
Włodzimierz Skiba
f18ad9c64b Build fix after PCH changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 15:19:53 +00:00
Michael Wetherell
5b34e14106 Compile fixes for GTK 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 12:31:56 +00:00
Włodzimierz Skiba
7c808858c9 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 10:58:28 +00:00
Michael Wetherell
3aa077cebc Build fix for systems linux where va_list is an array type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 09:44:35 +00:00
Włodzimierz Skiba
4ce7b1e43f Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 09:16:06 +00:00
Włodzimierz Skiba
2a673eb1c9 Include wx/listbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 08:23:42 +00:00
Vadim Zeitlin
d417574519 added possibility to reorder columns by dragging them (patch 1409677)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 00:13:19 +00:00
Vadim Zeitlin
ec376c8fd9 added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Vadim Zeitlin
96aed0cd6b don't assert if neither wxFD_OPEN nor wxFD_SAVE is given; wxFD_OPEN is the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:37:36 +00:00
Vadim Zeitlin
f36630afc9 use gtk_window_set_modal(TRUE/FALSE) instead of gtk_grab_add/remove() (part of patch 1472329)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 22:48:22 +00:00
Robin Dunn
4e9da8b79e Forward port of changes for using themed drawing of owner-drawn buttons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 21:26:39 +00:00
Włodzimierz Skiba
876cd6f7e3 Include wx/statbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:27:51 +00:00
Włodzimierz Skiba
370efbe741 [ 1498016 ] 'Add wxUniv toolbar support wxTB_TEXT style' - with modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:15:42 +00:00
Paul Cornett
cf26ac62e3 threads fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 17:22:38 +00:00
Włodzimierz Skiba
66b9f7f7e4 Various dummy.cpp centralized in common/dummy.cpp. Build rebaked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 11:48:45 +00:00
Włodzimierz Skiba
e267406e11 Include wx/statbmp.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 09:34:05 +00:00
Stefan Csomor
42cc0b316e changing scrollbars (hiding/showing) triggers a size event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 05:38:46 +00:00
Włodzimierz Skiba
ccdc11bbaf Include wx/stattext.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:39:22 +00:00
Vadim Zeitlin
a31746c7de fixes for wxVsnprintf() in Unicode build (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:14:35 +00:00
Włodzimierz Skiba
851dee09b5 Include wx/scrolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 13:43:18 +00:00
Włodzimierz Skiba
a9e8bf2dd9 [ 1494561 ] wxComboCtrl vertical size fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 09:17:45 +00:00
Włodzimierz Skiba
2bd6022f1c Include commctrl.h properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:43:05 +00:00
Włodzimierz Skiba
b36e08d086 Include wx/choice.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:34:30 +00:00
Włodzimierz Skiba
e031f1df56 wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:25:35 +00:00
Włodzimierz Skiba
4c9a69c19a Smartphone build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:49:43 +00:00
Włodzimierz Skiba
dbc74bccc9 wxWinCE power build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:24:02 +00:00
Robin Dunn
511bec9640 Avoid an assert if no alignment style is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 22:43:14 +00:00
Włodzimierz Skiba
9a8fc68d92 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:45:52 +00:00
Włodzimierz Skiba
e6e839336c Include wx/checklst.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:26:35 +00:00
Robin Dunn
aeeaf3eaf0 wxWakeUpIdle seems unnecessary here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:54:57 +00:00
Robin Dunn
efe0d228f7 Provide a wxDirSelectorPromptStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:27:19 +00:00
Paul Cornett
6ef708cde1 revert removal of gtk1 code from common file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:32:22 +00:00
Vadim Zeitlin
8ad31f9dfd call gtk_toolbar_set_tooltips() from GtkSetStyle(); removed erroneous wxTB_TOOLTIPS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:06:04 +00:00
Vadim Zeitlin
a130bb4e75 removed spurious #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:04:23 +00:00
Włodzimierz Skiba
33f9f48e20 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 14:23:26 +00:00
Włodzimierz Skiba
9e6aca686c Keep FindString in sync with wxControlWithItems base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:11:40 +00:00
Włodzimierz Skiba
344ff08345 Unused variable removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:07:27 +00:00
Vadim Zeitlin
f7b06c8ce1 use a filename, not URL, when quering its modification time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:56:48 +00:00
Włodzimierz Skiba
7456f3828a Fail for assert(0,...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:17:17 +00:00
Włodzimierz Skiba
3cb3b8b84d NO_GCC_PRAGMA removed from hyperlink code. Clipboard markup added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:14:34 +00:00
Włodzimierz Skiba
ff7d9066da Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:11:45 +00:00
Włodzimierz Skiba
7bd236e6da Fail for assert(0,...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:10:37 +00:00
Włodzimierz Skiba
06ec4d9c0f Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:09:00 +00:00
Vadim Zeitlin
649cfca1ce don't include statbox.h from the header, move wxStaticBoxSizer dtor to .cpp file instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 09:58:53 +00:00
Włodzimierz Skiba
ab1ce969df Include wx/checkbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 08:13:19 +00:00
Włodzimierz Skiba
98159dd8b6 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:31:24 +00:00
Włodzimierz Skiba
2858324691 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:23:02 +00:00
Paul Cornett
706e740f50 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:53:31 +00:00
Paul Cornett
f79f1604a0 revert forward declaration of hashmap, it doesn't work with STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:52:46 +00:00
Włodzimierz Skiba
8d3ba63b1e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:39:40 +00:00
Vadim Zeitlin
85ab460e7d miscellaneous wxFont enhancements (patch 1496606):
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
7aa7d2d407 oops, typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:01:30 +00:00
Vadim Zeitlin
f395a825a9 added CollapsePath() (patch 1494638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +00:00
Vadim Zeitlin
bd00fe32fb implemented notifications of the child process termination (patch 1494439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:51:23 +00:00
Vadim Zeitlin
622eb78696 don't offset the position for toplevel windows in wxFindWindowAtPoint() (patch 1491559)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:47:59 +00:00
Vadim Zeitlin
8b713759b6 correct painting of the items with custom colours in TVIS_DROPHILITED state (patch 1491478)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:45:39 +00:00
Vadim Zeitlin
b5b0a35d6b don't crash when destroying a not initialized socket (patch 1489095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:38:11 +00:00
Vadim Zeitlin
ff3e84ffdc File/dir dialog styles and other changes (patch 1488371):
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
c5d7205ca2 don't strip &s from tooltips (patch 1488318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:15:01 +00:00
Włodzimierz Skiba
34deaa9362 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:08:31 +00:00
Vadim Zeitlin
1c756ac814 allow specifying the style for wxHtmlHelpController used as fallback by wxBestHelpController (patch 1485669)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:07:02 +00:00
Vadim Zeitlin
a552d1201f fix the bug which prevented the same wxFile/DirDialog object from being used twice (patch 1485127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:01:21 +00:00
Vadim Zeitlin
fd0bab4353 use dynamic array for the page breaks positions (patch 1483976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:56:28 +00:00
Vadim Zeitlin
db759dde87 use GetPath() instead of GetFullPath() in the directory-oriented functions (patch 1482016)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:44:04 +00:00
Vadim Zeitlin
5613bc20ed check for ERROR_NO_MORE_FILES error code from FindFirstFile() as it's not really an error (patch 1481895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:40:37 +00:00
Vadim Zeitlin
234fedd2d3 added support for CMYK JPEGs loading (patch 1476078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 20:08:39 +00:00
Michael Wetherell
3fa2676fc3 Take account of the numlock when mapping mgl virtual keycodes to wx ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:23:44 +00:00
Michael Wetherell
27d98837f3 Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
on DJGPP where S_IFREG is defined as 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:58:12 +00:00
Vadim Zeitlin
164a797204 added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Vadim Zeitlin
17e914373a added wxHyperlinkCtrl (patch 1476781 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Michael Wetherell
5de959df83 Compile fixes: gcc seems to need pbt.h including, and PBT_APMRESUMEAUTOMATIC
isn't in the headers for most compilers (the other PBT_* macros are there).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:36:30 +00:00
Vadim Zeitlin
2f0add5ae0 allow partial read/writes (patch 1476893)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:27:40 +00:00
Vadim Zeitlin
e978011a40 delete the associated wxStaticBox in wxStaticBoxSizer dtor (patch 1473769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:24:12 +00:00
Vadim Zeitlin
6a1b3ead3f added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:17:02 +00:00
Vadim Zeitlin
0bb4ad85f3 fix crashes in the calctl sample under OS/2 (patch 1495898)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:20:32 +00:00
Vadim Zeitlin
7a828c7ffb wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
1e1c5d6276 explicitly call base class ctor to silent gcc warning (patch 1492701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:33:56 +00:00
Vadim Zeitlin
8e1a5bf979 added SetDoubleBuffered() (patch 1491093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:30:08 +00:00
Vadim Zeitlin
0a089246e7 wizards not using sizers for the page layout now work again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:19:18 +00:00
Vadim Zeitlin
6540132fa1 wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 13:51:34 +00:00
Michael Wetherell
7325e21c4f Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:05:10 +00:00
Vadim Zeitlin
3032b7b5c2 moved power functions for MSW from utils.cpp to (new) power.cpp and implemented them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:29:30 +00:00
Vadim Zeitlin
355debca06 added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:09:40 +00:00
Włodzimierz Skiba
6e0f4664cc Correct dll usage for wxDatePickerCtrl under WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 23:58:39 +00:00
Robin Dunn
4a2e5ee8f9 Fixes for the DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 19:02:57 +00:00
Włodzimierz Skiba
910b005366 Include wx/wx/bmpbuttn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 18:47:45 +00:00
Paul Cornett
e7445ff8ee move some data definitions to more appropriate places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Włodzimierz Skiba
b4446c2447 Fixed OpenWatcom (strange) scope related crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:56:11 +00:00
Włodzimierz Skiba
93fbbe0765 Include wx/control.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 10:15:44 +00:00
Vadim Zeitlin
a18c21f000 show help for the page under mouse when the [?] button is used to request help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:23:24 +00:00
Vadim Zeitlin
b107e8d578 added help event origin field: indicates if the help was requested using the mouse or from keyboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:21:38 +00:00
Vadim Zeitlin
851b88c310 moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:09:44 +00:00
Włodzimierz Skiba
ce5d92e150 Include wx/cmndata.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 21:08:11 +00:00
Stefan Csomor
6643c354c5 using new method for implementing Maximize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 19:03:16 +00:00
Paul Cornett
9cdf21473a unused declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:46:00 +00:00
Włodzimierz Skiba
88c576e5df src/mac/carbon/pnghand.cpp removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 14:45:39 +00:00
Włodzimierz Skiba
cdc99dddd2 [ 1494429 ] Fix for wxOwnerDrawnComboBox::Clear() crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 11:39:51 +00:00
Włodzimierz Skiba
133f3119f0 Removed some references to unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 10:03:56 +00:00
Włodzimierz Skiba
246c5004eb Include wx/msgdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 07:07:23 +00:00
Paul Cornett
1c2d839fbf don't crash on zero length string in DoDrawRotatedText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 02:40:58 +00:00
Michael Wetherell
98b9b5eaf3 Use wx_static_cast instead of static_cast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 22:55:28 +00:00
Paul Cornett
bd88c1fa96 derive univ toggle button from button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:17:27 +00:00
Włodzimierz Skiba
d48d1eaeda Missing app.h include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:03:11 +00:00
Włodzimierz Skiba
e7c80f9e05 wx/debug.h is always unconditionally included by wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 15:13:23 +00:00
Michael Wetherell
dd5e86874e Map between int page ids and page pointers using hashes so that it works when
pointers are 64-bits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 14:39:52 +00:00
Julian Smart
615a96e37d Don't unselect if setting string that's not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 13:41:12 +00:00
Włodzimierz Skiba
7ca4ac6383 [ 1493802 ] Allow multiple wxComboCtrl::SetPopupControl calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:29:06 +00:00
Włodzimierz Skiba
9eddec696f Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Paul Cornett
13199c3dcb correct access for virtuals, other minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 05:03:00 +00:00
Julian Smart
390f811460 Avoid flags that may clash with alignment flags
Don't try to set the string selection if not found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:33:17 +00:00
Włodzimierz Skiba
b7540dc1ec [ 1493005 ] Fix wxComboCtrl popup positioning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:05:30 +00:00
Julian Smart
43be3c33f3 Applied patch 1489656: support for wxToggleButton under wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 17:53:50 +00:00
Włodzimierz Skiba
35932e0596 wxScrolBar event sending fix in wxUniv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 16:52:29 +00:00
Włodzimierz Skiba
1f7e5f7be3 [ 1470717 ] wxUniv toolbar separator drawing fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 16:05:12 +00:00
Włodzimierz Skiba
0164f8ebfd Improved wxDCPen/BrushChangers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 14:11:55 +00:00
Julian Smart
fbb67d0e52 Guard against comparing invalid iterators, which produces an assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 13:58:51 +00:00
Julian Smart
45e13c7fb6 Applied patch [ 1489741 ] Bugfix for wxScrolledWindow::SetScrollRate in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:24:18 +00:00