Julian Smart
4a00d37c96
Applied #11236 : Event from thread not processed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:42:18 +00:00
Julian Smart
b37e592bd7
Applied #9789 : missing wxBORDER_THEME style in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:36:43 +00:00
Julian Smart
b14cd77b2a
wxTextCtrl::LoadFile no longer sends a text event, to correct problems with spurious modification of documents.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 14:35:39 +00:00
Julian Smart
8410881294
Applied #10828 (Hourglass in wxDocManager::OnPreview)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:54:31 +00:00
Julian Smart
250ab35a3b
Applied: wxDocument: Adding an asterix to the title
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:49:01 +00:00
Julian Smart
e558f9533e
Applied better/Win98-proof method of getting edit window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:33:41 +00:00
Julian Smart
2d512c47df
Applied #10799 : using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:17:14 +00:00
Julian Smart
c50e0cc752
Applied part of #9115 (STC sample cleanup)
...
by troelsk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:08:48 +00:00
Julian Smart
4908591c7e
Applied #9127 : patch to remove blank under wxFrame with Hildon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 12:38:07 +00:00
Julian Smart
426d19f139
Applied patch #9058 (add Hildon 2.0 support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 12:36:34 +00:00
Julian Smart
09981ba798
Applying patch #10784 : eliminate gauge flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 10:18:15 +00:00
Julian Smart
d561e1a5fb
Applied patch #9510 : wxIAccessible access freed memory
...
by Cyball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 10:15:20 +00:00
Stefan Csomor
e2bc58263e
avoiding double define warnings on osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:54:57 +00:00
Julian Smart
082e5b9856
Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi
...
by Martin Perktold
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:54:25 +00:00
Stefan Csomor
def328714d
support PerformClick for NSControls, closes #11129
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:52:04 +00:00
Stefan Csomor
1f83c63111
no focus on Show for toolwindows, closes #10872
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:46:00 +00:00
Stefan Csomor
e431dd05ae
documenting events that are not available on OSX, closes #10776
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:41:39 +00:00
Stefan Csomor
e876d0f262
removing unneeded method, closes #11073
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:39:38 +00:00
Stefan Csomor
2c864095a0
removing unneeded method, closes #11073
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:15:41 +00:00
Julian Smart
da89830af4
Applied #10025 (Patch to allow proper sizing of simple combo box)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:07:13 +00:00
Julian Smart
fe56156fb5
Alternate fix for #9954 (simple combobox assert) except on WinCE which probably shouldn't be using a simple combobox anyway
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 08:36:25 +00:00
Stefan Csomor
cc3fcdff18
supporting disabled items, closes #11130
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 08:16:15 +00:00
Stefan Csomor
eca62298b9
fixing styles, closes #11128
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 08:05:17 +00:00
Julian Smart
c4f2288466
Applied #10659 (year change in copyright)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 07:42:31 +00:00
Julian Smart
713129f9d3
Applied #10639 (Not all previewed fonts are displayed with the correct nameface)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 07:35:48 +00:00
Julian Smart
c631741b39
Fixed compile problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 06:48:27 +00:00
Vadim Zeitlin
b469c9d81b
Handle deprecated background styles correctly in wxMSW.
...
Handle wxBG_STYLE_TRANSPARENT as wxBG_STYLE_PAINT and wxBG_STYLE_COLOUR as
wxBG_STYLE_ERASE instead of asserting (and almost surely crashing next, as
this assert is in the code called when the window is repainted and so will be
called again when the assert dialog is shown resulting in reentrant assert).
Closes #11208 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 00:22:04 +00:00
Vadim Zeitlin
7a0a6cc8f6
Fix wxGrid compilation with MSVC7.
...
Due to what seems a compiler bug, MSVC tries to instantiate objects of
abstract wxGridXXXHeaderRenderer classes when compiling operators ?: using
references to them. Add explicit static_cast<>s to help it do the right thing.
Fixes compilation with this compiler broken in r62037.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 00:21:57 +00:00
Vadim Zeitlin
0661eb625e
Display correct minimal and maximal pages numbers under OS X.
...
Set min and max page fields in m_printDialogData before showing the print
dialog in the Mac version.
Closes #8349 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 00:21:49 +00:00
Vadim Zeitlin
72a4fa54d9
Minor corrections to sorted arrays documentation.
...
Mention that Remove() uses binary search for sorted arrays so the item removed
by it is not necessarily the first one. Also correct documentation of Index()
for sorted arrays which was incorrectly the same as for the normal kind.
Closes #11233 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 00:21:36 +00:00
Vadim Zeitlin
0126e6d256
Exclude binary files from the checks done by the pre-commit hook.
...
We shouldn't check that binary files are UTF-8 so determine whether the file
is binary by looking at its svn:mime-type and only do the check for the text
files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 20:33:34 +00:00
Paul Cornett
b4bde7a74b
build fixes for wxUSE_VALIDATORS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 16:32:32 +00:00
Vadim Zeitlin
95e74456a2
Fix bug in the hook which prevented committing makefiles.
...
If both makefiles and any source files were committed, makefiles were
mistakenly added to changed_sources and were flagged as containing TABs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 16:00:08 +00:00
Vadim Zeitlin
5c858faa15
Suppress harmless mingw32 warning about unused value.
...
Add an explicit cast to void to Header_SetImageList() call to avoid "warning:
value computed is not used".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 14:29:04 +00:00
Vadim Zeitlin
670d01778a
Extract default grid header renderers from wxGridCellAttrProvider.
...
We must be able to use them even when we have no attributes at all
and even when we have no associated table, so use default renderers in wxGrid
implementation of Draw{Row,Column}Label()/DrawBorder() in this case.
Closes #11230 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 14:28:55 +00:00
Vadim Zeitlin
cb7c02fd46
Remove DLL export declaration from wxScrolled.
...
As this class has only inline methods it doesn't need to be exported from the
DLL and actually exporting it results in linking problems when using
wxScrolled<wxWindow> (which, unlike wxScrolled<wxPanel>, is not used in wx
itself and so doesn't seem to be instantiated) in DLL client even with VC > 6.
An alternative solution would be to change WXDLLIMPEXP_TEMPLATE_INSTANCE_CORE
macro to explicitly instantiate the template in the DLL even for VC > 6 but
this wouldn't solve the problem for wxScrolled<CustomClass> while removing the
DLL export declaration should.
Also use wxScrolled<wxWindow> in addition to wxScrolled<wxPanel> in the scroll
sample to test that it links correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 14:28:42 +00:00
Vadim Zeitlin
5ec3853fa6
Don't use deprecated integer mask with wxLogTrace().
...
Use string mask instead of the deprecated wxTraceMessages to fix compilation
with WXWIN_COMPATIBILITY_2_8==0.
Closes #11229 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 14:28:35 +00:00
Vadim Zeitlin
d4295ad159
Add ribbon libraries sources to the monolithic build.
...
Closes #11231 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 13:16:53 +00:00
Julian Smart
4fdc2c5f2a
Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS
...
where possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 11:05:52 +00:00
Julian Smart
2f0baf9797
Resolved #4842 (accessors for member variables)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 08:15:13 +00:00
Julian Smart
2c48f03275
Fixed #10702 (encoding not used in HTML handler)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:53:22 +00:00
Julian Smart
0d6ca1c2f6
Fix for wrong line placement when centering or right-aligning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:38:42 +00:00
Julian Smart
346c54a4bb
Clarified difference between SetInsertionPoint and MoveCaret.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 16:46:12 +00:00
Julian Smart
4427f297a6
Fix for #4696 : added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 16:36:58 +00:00
Julian Smart
140d93c024
Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 15:20:17 +00:00
Jaakko Salli
57f2175441
Minor clarifation and typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 14:52:57 +00:00
Jouk Jansen
8110dab0ff
Include compile support for propgrid & ribbon on OpenVMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 14:13:55 +00:00
Julian Smart
59a87eeaf6
Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 13:06:42 +00:00
Peter Cawley
77749ea963
Added automatic linking of ribbon libraries when using MSVC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 12:13:03 +00:00
Julian Smart
ec2d6790e9
Fixed wxBORDER_THEME breakage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 10:58:06 +00:00