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
Jaakko Salli
102c9a42e8
Fixed broken wxMultiChoiceProperty::ValueToString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:36:07 +00:00
Jaakko Salli
c324ed9459
Add maximum width for sample's frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:31:46 +00:00
Jaakko Salli
7bb89a662b
Update 'intro' comment in propgrid sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:24:27 +00:00
Jaakko Salli
1425eca550
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:19:50 +00:00
Vadim Zeitlin
f7ca1dd416
fix PCH in VC8 projects (until the next rebake...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 16:20:31 +00:00
Vadim Zeitlin
65669e3152
add very simple (but already exposing many problems) wxIPC benchmark
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:35:03 +00:00
Vadim Zeitlin
fa8825a01d
allow specifying initialization and cleanup functions for benchmarks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:34:47 +00:00
Vadim Zeitlin
04021d6fac
made Dispatch() return bool indicating whether we processed any events inside it or if the timeout expired
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:33:05 +00:00
Vadim Zeitlin
0bde39ffac
Dispatch() must dispatch the real events and not only the pending ones accumulated in wxApp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:32:39 +00:00
Vadim Zeitlin
a62e6836ae
added wxConnection::IsTextFormat()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:32:06 +00:00
Vadim Zeitlin
5a557d1ea0
made Dispatch() return bool indicating whether we processed any events inside it or if the timeout expired
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:31:30 +00:00
Vadim Zeitlin
c139dda12a
no changes, just removed _T()s and unnecessary wxUnusedVar()s
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:07:35 +00:00
Vadim Zeitlin
f34851f5af
remove obsolete makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 10:02:45 +00:00
Vadim Zeitlin
a8db7a5fc1
disable VC6 warning C4284; put all warning disable pragmas together
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 09:13:16 +00:00
Václav Slavík
352cd79f63
reverted broken changes from r56345 and r56349
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 08:15:56 +00:00
Paul Cornett
e261c9e2af
simplify code by using wxGTKPrivate::GetButtonWidget()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 03:57:39 +00:00
Václav Slavík
ca5bf83bda
compilation fix for older glib versions after r56345
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 21:10:56 +00:00
Vadim Zeitlin
f8cba58b84
reset deferred position/size if the window was moved immediately ( #10073 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 21:03:40 +00:00
Vadim Zeitlin
fa05a943e9
implement GetSizeAvailableForScrollTarget() in MyScrolledWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 19:39:27 +00:00