Commit Graph

45960 Commits

Author SHA1 Message Date
Stefan Neis
ac10ea91c9 Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 06:55:10 +00:00
Robert Roebling
4c332da033 Add more bakefile files to make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 20:18:42 +00:00
Robert Roebling
4094f3f233 Added src/msw/version.rc to make win-dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 19:23:21 +00:00
Francesco Montorsi
41e69d79ea doxygen warnings and formatting fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 16:07:00 +00:00
Francesco Montorsi
3a74a290a9 fixed the anchor names for @section used in interface headers; documented the general rules used for its naming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 15:30:20 +00:00
Francesco Montorsi
6a93e7940b interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 15:14:14 +00:00
Vadim Zeitlin
89ff7d649f correct some wording of recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 14:00:14 +00:00
Francesco Montorsi
6f8dd114f4 mentioned the new doc format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 13:13:31 +00:00
Francesco Montorsi
320ab87c57 interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 12:49:07 +00:00
Stefan Neis
3b644e9889 Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 12:34:13 +00:00
Jaakko Salli
404b9c623a Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:48:49 +00:00
Jaakko Salli
9bc1121429 In wxPropertyGridManager, alphabetic mode is now sorted even if wxPG_AUTO_SORT flag is absent (fixes wxPG sf bug #2162053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:29:36 +00:00
Jaakko Salli
c904964610 Fixed wxSystemColourProperty::ValueToString(). It now once again properly formats custom colour selection as (R, G, B) when displayed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:16:29 +00:00
Vadim Zeitlin
deb0c40261 remove extraneous returns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 10:16:47 +00:00
Jaakko Salli
2cbd2892e7 Connect wxEVT_KEY_DOWN for both editor controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 16:32:59 +00:00
Jaakko Salli
4d11369db6 Do not skip key events so eagerly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 16:09:48 +00:00
Stefan Csomor
b4afc5ec37 adapting to API change from GetContentAreaInset to GetContentArea, fixes #10071
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 16:09:33 +00:00
Jaakko Salli
b47d6bc416 Forgot event.Skip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:27:58 +00:00
Jaakko Salli
a8f4019041 Removed unused data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:23:42 +00:00
Jaakko Salli
68f9e025b9 Simplistic tab support is now default (tab focuses editor if unfocused, otherwise goes out of grid), no longer recognizes wxTAB_TRAVERSAL, unified key handling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:11:44 +00:00
Robert Roebling
4b230a33c5 Allow create of 24-bit bitmap, use Pixbuf when not a 24-bit visual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 14:32:56 +00:00
Vadim Zeitlin
5eda3bcdad remove assert from GetSizeAvailableForScrollTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 13:50:10 +00:00
Francesco Montorsi
89bb3f0244 interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 20:55:12 +00:00
Francesco Montorsi
969daeea66 revision of wxLocale; documented the list of language constants into the wxLanguage enum; modified genlang.py to generate a .h with doxygen comments and removed generation of a .tex script; moved docs for wxXlocale to the right header (xlocale.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 20:27:36 +00:00
Jaakko Salli
c82a80e81f wxPGProperty::GenerateComposedValue() -> protected DoGenerateComposedValue(), added simple public GenerateComposedValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 16:46:38 +00:00
Vadim Zeitlin
157a8f7002 handle error in GetDataSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 13:54:05 +00:00
Jouk Jansen
a343ac03ce OpenVMS compile support update for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:47:13 +00:00
Robert Roebling
4aa7709b73 Updates for make dist for OSX_CARBON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:39:21 +00:00
Vadim Zeitlin
878c265b94 significantly optimize wxCSConv::To/FromWChar(NULL) performance by simply using a bigger temporary buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:25:47 +00:00
Vadim Zeitlin
3e356d4144 add a simple benchmark for wx and iconv converters benchmarking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:24:24 +00:00
Vadim Zeitlin
bce49490f6 compilation fix for include wx/generic/stattextg.h before/without including wx/stattext.h in PCH-less wxUniv build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:02:47 +00:00
Robert Roebling
11339a3884 Use xpms for checked/unchecked states instead of drawing them (yielded junk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:58:39 +00:00
Vadim Zeitlin
51725fc0c2 reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Robert Roebling
f9736c27be Sort controls alphabetically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 10:50:35 +00:00
Paul Cornett
d45a01e049 pass window parameter to wxSystemSettings::GetMetric() so wxGTK can get the value right more often
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 04:36:25 +00:00
Paul Cornett
53357e241e partial support for border metrics of non-TLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 04:36:09 +00:00
Robin Dunn
5ac526c40c Assert that a mode style *is* set, not that one isn't set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 22:37:58 +00:00
Robert Roebling
cadb4a6d8c Crop image a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 22:23:23 +00:00
Robert Roebling
724852daae Enable intercepting ENTER in wxSpinCtrl under wxMac by using wxTE_PROCESS_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 22:18:04 +00:00
Robert Roebling
33a1719a95 Dont't finish any editing if there is no control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 21:32:26 +00:00
Václav Slavík
13f0cfee4d forgot to commit toplevel.h as part of r56374
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 20:20:52 +00:00
Robert Roebling
45bd6199eb Remove accidentally commited debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:20:37 +00:00
Robert Roebling
c016394bc2 Make wxMac wxSpinCtrl emit killfocus events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:19:48 +00:00
Václav Slavík
0f278d7763 assert in wxTopLevelWindowMSW::SetIcon[s]() if none of the provided icons has required size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:13:32 +00:00
Václav Slavík
7abd9a0331 wxArtProvider cleanup: added artmsw.cpp accidentally missing from r56372
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:10:55 +00:00
Václav Slavík
a158acac6d Cleaned up wxArtProvider:
1. Move platform-specific code for both GetSizeHint() and GetBitmap()
   into platform-specific files.
2. Introduced GetNativeSizeHint() to make native sizes better accessible,
   without having to understand weird GetSizeHint() semantics.
3. Fixed GetNativeSizeHint() to return sensible values in non-GTK ports;
   it returns wxDefaultSize if it can't make a good guess instead of
   returning arbitrary value.
4. Use 16x16 icons on MSW instead of 16x15: it works and is more
   'natural' size.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:07:42 +00:00
Robert Roebling
ea91ff8e33 Write directly to log target wxTextCtrl to avoid crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:27:16 +00:00
Robert Roebling
896074b9ba wxMac actually crashes in any logging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:17:56 +00:00
Robert Roebling
b57748f93f wxMac crashes in wxLog() statements with string.GetData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:06:58 +00:00
Robert Roebling
3f407e4ff7 Fudge offset no longer required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:05:44 +00:00