Vadim Zeitlin
3c77890141
add more flexible and safer template Connect() overloads ( #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Vadim Zeitlin
d3acc83ae9
fix some (harmless) mingw32 4.3 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 16:30:53 +00:00
Vadim Zeitlin
0c9a798547
fix crash when copying empty selection to clipboard ( #4783 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:45:05 +00:00
Vadim Zeitlin
17e05a8e88
don't interfere with Scintilla drag-and-drop ( #9088 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 02:21:55 +00:00
Robin Dunn
c0a4c58aca
A bit of cleanup for STC's use of PopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:25:03 +00:00
Robin Dunn
7e0c58e92c
Update Scintilla to version 1.75
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 04:07:00 +00:00
David Elliott
6420b4c55d
Added include wx/timer.h to non WX_PRECOMP case.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 17:40:42 +00:00
Václav Slavík
ea88e9bca9
don't export private stc2wx(), wx2stc() functions from wxSTC shared library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 08:10:29 +00:00
Vadim Zeitlin
291b0f5b14
fix warnings about parameters shadowing member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:22:20 +00:00
Paul Cornett
819850ff06
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 17:15:56 +00:00
Paul Cornett
29825f5fc4
add wxUSE_STC wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 05:48:09 +00:00
Robin Dunn
54429bb380
Bakefile and other changes for new locations of STC and wxSVGFileDC.
...
Remove old files in contrib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 06:27:23 +00:00
Robin Dunn
e5abfc486b
Enable the use of the primary selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:17:45 +00:00
Vadim Zeitlin
80dc1dd378
compilation fix for Win64 (patch 1690999)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:34:07 +00:00
Robin Dunn
67879c5b41
Use float-on-parent frames for the popups if wxPopupWindow is not available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:26:34 +00:00
Robin Dunn
e64481bf07
Catch WXK_NUMPAD_DELETE and WXK_NUMPAD_INSERT too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:19:45 +00:00
Robin Dunn
340515d36d
Recognize the numpad cursor keys too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 16:48:25 +00:00
Robin Dunn
e968f10872
Only do Armel Asselin's memory reduction patch in Paste in the Unicode
...
build because in the ansi build wxWX2MBbuf is just a char* pointing
into the text wxString's buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 01:53:18 +00:00
Robin Dunn
134d7051bf
Reverted part of rev 1.92. It causes probelms on Windows when
...
scrolling with the scrollbars since the mouse can be captured nativly
momentarily.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:18:04 +00:00
Robin Dunn
1c930beb60
Applied patch from Armel Asselin that reduces memory required when
...
pasting text and when sending events.
Comment out some unneeded asserts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 19:32:18 +00:00
Robin Dunn
4d02625ccf
Changes to ensure that the potential drag is totally cleaned up in LeftButtonUp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 21:38:59 +00:00
Robin Dunn
5bd24f7242
Make WXK*PRIOR and WXK*NEXT be aliases for WXK*PAGEUP and WXK*PAGEDOWN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 04:14:29 +00:00
Robin Dunn
5a86739df2
Increase timeout in order to catch slower clicks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:09:22 +00:00
Włodzimierz Skiba
f402150f77
wxTinderbox build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 09:56:06 +00:00
Robin Dunn
466c166f5a
Fix for bug #1436503 . Delay the start of the DnD oprtation in case
...
the user just intended to click, not drag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 23:57:45 +00:00
Jamie Gadd
68df211fae
Deprecate wxDC::{Begin,End}Drawing()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 11:59:59 +00:00
Włodzimierz Skiba
d66551669c
#include markup fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 08:36:08 +00:00
Włodzimierz Skiba
c54e5eb0f6
wxOS2/OW warning and build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 16:02:51 +00:00
Robin Dunn
443eb93a99
Don't adjust the keycode for Ctrl-Backspace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-13 15:14:00 +00:00
Robin Dunn
382fe64041
Use a wxPopupWindow for the AutoComplete box too.
...
We don't need to artificially set the clipping region on wxGTK anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 01:36:05 +00:00
Robin Dunn
e4f39334ab
No longer a need for changing the names to protect against multiple definitions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 18:55:16 +00:00
Robin Dunn
98719eabe0
Don't include the nul byte when copying to the clipboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 23:53:04 +00:00
Robin Dunn
f9ee2e2742
rearrainge the #includes and etc. to avoid a name conflict with some
...
CoreFoundation headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 18:39:54 +00:00
Włodzimierz Skiba
249b31b53b
Missing header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 11:43:52 +00:00
Robin Dunn
21334a4689
Treat the numpad enter key the same as the main enter key
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 17:32:16 +00:00
Robin Dunn
719493e14b
On wxMac don't call Refresh from FullPaint as that is the biggest
...
cause of the performance problems. Instead call refresh when the
AutoComp window is displayed or hidden to ensure that borders,
etc. are drawn/erased as needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 23:45:18 +00:00
Robin Dunn
68985f0e57
Initialize the new data memebers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:54:47 +00:00
Robin Dunn
d429e18743
On wxMSW Move an invisible system caret around with the Scintilla
...
caret to help screen readers and such can follow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:36:59 +00:00
Robin Dunn
a33203cb9f
Updated to Scintilla 1.62
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 22:53:19 +00:00
Robin Dunn
5fd656d503
Use the unicode character, if available in the event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 18:48:09 +00:00
Włodzimierz Skiba
c8b75e9498
ssize_t for wxFile, unsigned char markup for color components, whitespace source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:32:42 +00:00
Włodzimierz Skiba
7e126a0784
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord/wxNOT_FOUND.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 15:13:27 +00:00
Robin Dunn
ee8bee6c8c
Fixed incorrect clipping region on wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 18:59:14 +00:00
Robin Dunn
610c50a239
Convert EOLs in pasted or DnD'd text to match what is in the current document.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:40:26 +00:00
Robin Dunn
8a79319461
Ensure that the correct rectangle is clipped and refreshed for the CallTip
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 22:19:57 +00:00
Julian Smart
be5a51fb59
More name changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Robin Dunn
ab0f5fa6a7
No longer any need for the dc parameter to FullPaint.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 20:10:32 +00:00
Robin Dunn
cadea444a0
Fix FullPaint to actually force the whole window to be repainted
...
instead of being constrained by the previous paint's update region.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 19:52:41 +00:00
Robin Dunn
1f575e6569
use wxPopupWindow again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 00:07:04 +00:00
Robin Dunn
0eaf23edfa
Turn off UseAntiAliasing by default on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-23 22:10:19 +00:00