Commit Graph

38513 Commits

Author SHA1 Message Date
Václav Slavík
574d48dbe4 removed #ifdefs that conditionally included the exact same code on Mac and non-Mac, instead of having just one copy of it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:33:09 +00:00
Vadim Zeitlin
190b93449e another fix for the default button in the dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:21:53 +00:00
Vadim Zeitlin
16837dc334 document --selected-config option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:20:33 +00:00
Vadim Zeitlin
95fab76ba0 1. Don't draw our own custom label if we don't have custom foreground colour,
we don't need to do it then as it works just fine by default then

2. Use the theme font for the label (doesn't do anything for the default Luna
   theme but helps a lot with custom themes, unfortunately metrics are still
   wrong with them)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 22:20:53 +00:00
Vadim Zeitlin
6969c2c318 added AutoHFONT; allow initialize SelectInHDC later (and not necessarily in ctor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 22:11:16 +00:00
Julian Smart
e3eac0ff7f Bullet size should take into account the font of the immediately following content.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 15:57:45 +00:00
Julian Smart
7947a11dad Optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 15:54:59 +00:00
Mart Raudsepp
bdb5188415 Change style flag on floating frames to give proper minimize behaviour. Thanks to Chris Mellon; needed for my app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 13:03:00 +00:00
Robin Dunn
dc99f469f5 minitest for wx.BusyInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:12:59 +00:00
Robin Dunn
59ccbf7fec reSWIGGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:11:49 +00:00
Robin Dunn
2bd162773d Reset the item's text in SetItemFont to ensure that the text will be
remeasured with the new font, and the bounding rect will be adjusted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:10:15 +00:00
Robin Dunn
e1944ad852 Don't try to access a color not in the dictionary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:02:59 +00:00
Robin Dunn
cefcc57db8 RemoveItem should return the same object it is passed, but adjusted
for new ownership


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:02:23 +00:00
Robin Dunn
55424c8c22 wxColor --> wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:57:34 +00:00
Robin Dunn
015131a1fd Add parent parameter to BusyInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:55:58 +00:00
Robin Dunn
38c213b192 Unicode is the default build mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:54:34 +00:00
Robin Dunn
e1463b9df0 Patches from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:52:32 +00:00
Robin Dunn
c306c1e0f6 put wx in the shell's namespace too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:50:51 +00:00
Kevin Ollivier
471046b088 Adding SetFocus to wxABI_VERSION.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 20:14:38 +00:00
Kevin Ollivier
cf6982fae6 Fix for non-PCH builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 20:05:08 +00:00
Chris Elliott
5c7d3eb176 fix for build with x11 reported here http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:mss:96187:200612:dimemphnemjnfeciaghe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 11:20:58 +00:00
Vadim Zeitlin
d69f7c5831 reversed binary and forward compatibility terms to their usual meanings; added a section about binary compatibility preserving changes explicitly mentioning that overriding of existing virtual functions seems to be safe; fixed typos/spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 22:28:15 +00:00
Vadim Zeitlin
cbf6ba7559 added wx{Dir|File}Dialog::Get/SetStyle() for 2.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 22:04:48 +00:00
Vadim Zeitlin
cc197ed421 restored (as deprecated) accidentally removed wx{Dir|File}Dialog::Get/SetStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 19:26:48 +00:00
Václav Slavík
9a9b58229f compilation fix for !wxUSE_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 18:24:27 +00:00
Václav Slavík
f1f5f16f78 sockets work with wxDFB now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 17:52:16 +00:00
Kevin Ollivier
bc63f2c969 Restore compilation with --enable-stl, fix SetFocus with the generic control, and re-instate the use of ids to sort when a specific sort function isn't being used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 06:53:53 +00:00
Vadim Zeitlin
ff1bd293e1 C/POSIX locales (or absence of locale information) corresponds to wxLANGUAGE_ENGLISH_US, not wxLANGUAGE_ENGLISH which is the same as wxLANGUAGE_ENGLISH_UK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 23:24:36 +00:00
Vadim Zeitlin
8ebf24655c unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 13:45:08 +00:00
Vadim Zeitlin
9b99c1e36a changing ES_LEFT/CENTER/RIGHT styles only works for plain (not rich) controls and only under XP, recreate the control in SetWindowStyleFlag() if it's a richedit one or if the system is earlier than XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 13:38:25 +00:00
Vadim Zeitlin
b370e7587f fixed initial size of a control with wxDefaultSize: due to SetSize() call in Create() introduced in 1.243 it was created with 1 pixel height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 10:06:43 +00:00
Vadim Zeitlin
9fcbe07663 we don't need to subclass text control twice to implement support for WM_COPY/CUT/PASTE, just handle them in MSWWindowProc() (this reimplements the change of rev 1.261 correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 09:51:50 +00:00
Chris Elliott
5b204a088a copy univ setup.h for VC IDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 09:45:42 +00:00
Stefan Csomor
4d7e2cdad3 best size fix for multi-line fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 08:45:48 +00:00
Vadim Zeitlin
c0c677934f make the continue button default, not the stop one, to avoid killing the application accidentally if it doesn't run under debugger and Enter is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 23:36:53 +00:00
Stefan Csomor
f02f4d43c5 fvisibility-inlines-hidden fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 13:49:26 +00:00
Mart Raudsepp
afc2d3bc8a Unswap example returns values for GetPluginsDir and GetResourcesDir. They got swapped by the introduction of
GetResourcesDir documentation in rev1.12, see
http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/docs/latex/wx/stdpaths.tex.diff?r1=1.11&r2=1.12
Noticed by Giuseppe Bilotta


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 12:41:41 +00:00
Jouk Jansen
dbba880ee5 Committing in .
Update configuration file for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 11:25:09 +00:00
Vadim Zeitlin
72d11e1734 don't include non existent tools/gettext directory in the distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 10:52:34 +00:00
Vadim Zeitlin
9a137faacf removed (non existing any more) mobile/* files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 10:45:52 +00:00
Vadim Zeitlin
e019c6429d include wxUniv files into wxX11 distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 08:29:37 +00:00
Stefan Csomor
f84a986cfc fixing -fvisibility-inlines-hidden problem (IsOk function didn't get exported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 05:43:19 +00:00
Robin Dunn
f0db59f269 remove debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:52:48 +00:00
Robin Dunn
4b32f8c79e minor demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:19:04 +00:00
Robin Dunn
facc1d350b wx.lib.customtreectrl patches from Andrea Gavana.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:18:07 +00:00
Robin Dunn
89d1e2eeab reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:15:37 +00:00
Robin Dunn
09d48154cc Make wx.MenuItem.Destroy a NOP since the regular garbage collection
will handle the destruction now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:14:03 +00:00
Robin Dunn
bcf4fef288 Some docstring changes, default value for clockwise arg in AddArc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:13:12 +00:00
Robin Dunn
d7db6a4351 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 20:22:32 +00:00
Václav Slavík
757b694ba8 wxDFB: fix events processing to support sockets events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 17:24:06 +00:00