Commit Graph

220 Commits

Author SHA1 Message Date
Robin Dunn
8ae4f08661 Set minsize and implement DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 18:11:30 +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
Václav Slavík
166bcebb8e install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:28:28 +00:00
Robin Dunn
81bfa5ae22 Handle terminating NULL correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 20:51:18 +00:00
Robin Dunn
8a07b43cf6 Patch [ 971542 ] Tiny speedup for stc2wx in PlatWX.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:44:57 +00:00
Robin Dunn
ec830416c5 This workaround is no longer needed because of fix in
wxWindowMac::MacWindowToRootWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:05:52 +00:00
Robin Dunn
719ee9c389 Take care of some focus issues with the AutoComp list box and also a
crash at exit when losing focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 00:09:27 +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
Robin Dunn
f325fa52de Default arg for Id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:57:27 +00:00
Robin Dunn
be698f5030 remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
several releases now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:26:42 +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
Julian Smart
c4839ccf58 Regenerated makefiles for 2.5.2
Other version updates
Added list of Cocoa files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 14:12:40 +00:00
David Elliott
3fd9c29882 Baked with Bakefile 0.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 21:44:08 +00:00
Robin Dunn
9efe0302c3 Check that the file successfully loaded, use the length read for the conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 20:01:16 +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
1c26fbe00e Ensure the buffer is NULL-terminated before converting it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:35:35 +00:00
Robin Dunn
2548474612 Expand the range of WXK_ values that are excluded from OnChar.
Correct the position of the context menu.  (SF# 921247)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:22:54 +00:00
Robin Dunn
4261ba88cf Use the length when converting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 22:43:30 +00:00
Robin Dunn
c26dba42b7 Decided that not doing methods for keyboard commands was not worth the
effort keeping track of which should be eliminated and which should
not.  Now all functions defined in Scintilla.iface will have a method
in the wxSTC class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-06 00:09:07 +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
Václav Slavík
b92ca8cf62 regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 19:36:30 +00:00
David Elliott
c3255f5fba Bakefile 0.1.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:14:15 +00:00
Robin Dunn
04ebdf400c Oops, took out too much...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:29:01 +00:00
Robin Dunn
d13ea3aa4f Fix the off-by-one a little differently, and correct a refresh problem
on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:22:03 +00:00
Robin Dunn
0fcf2b15da Fixed an off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 23:05:20 +00:00
Robin Dunn
b6bfd8e8f4 Call Skip from the focus handlers so wxGTK can still do it's internal housekeeping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 19:06:02 +00:00
Robin Dunn
d1558f3d53 Use extraFontFlag to specify if anti-aliased fonts should be used.
Use GetPartialTextExtents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:42:01 +00:00
Robin Dunn
e0e5663fe4 Allow an extra flag to be given to Font::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:35:11 +00:00
Robin Dunn
75c60b3e65 Use wxStaticCast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:13:12 +00:00
Robin Dunn
5f9eb69c1c correct some compile warnings and errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 20:37:57 +00:00
Robin Dunn
92dda0f7a3 Call Finalise.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 05:54:16 +00:00
Robin Dunn
8e54aaedb5 Updated Scintilla to version 1.58
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 00:03:13 +00:00
Robin Dunn
faadde7e06 %addtofunc --> %pythonAppend
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:45:47 +00:00
Robin Dunn
2659dad320 wxMac needs the scroll styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 22:59:38 +00:00
David Elliott
b17c174693 Baked files with Bakefile 0.1.2 (Mac OS 10.3 Python 2.3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 03:48:09 +00:00
Robin Dunn
657dbfccd6 Patch [ 877891 ] Share the DC from DoPaint with FullPaint in ScintillaWX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-16 00:52:17 +00:00
Robin Dunn
120826838f Don't use wx[H|V]SCROLL styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-02 20:41:34 +00:00
Václav Slavík
9bfe7ad92d regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 11:42:03 +00:00
Julian Smart
a55f5a1136 Applied [ 857819 ] STC CopyToClipboard uses LF on win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:32:44 +00:00
Mattia Barbon
8e5ec9cc58 Compilation fixes for wxUSE_STL == 1 and for wxUSE_UNICODE == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:16:36 +00:00
Robin Dunn
39c0acb666 Patch #826420, and also adapted to new SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 01:12:25 +00:00
Václav Slavík
e1a098d1ec fixed bakefile so that in-tree headers take precedence over system-installed ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 21:37:54 +00:00
Robin Dunn
6612393c00 Fixed bad merge...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 19:07:59 +00:00
Robin Dunn
a4f3565ebd More AutoComplete crash fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 19:04:03 +00:00
Robin Dunn
9d41f689dc #ifdef update for the old SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 20:06:19 +00:00
Robin Dunn
b0d0494ff5 Fixes in focus handling related to the AutoComplete window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:42:41 +00:00
Mattia Barbon
2fcce89663 Compilation fix for wxUSE_DRAG_AND_DROP==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:44:42 +00:00
Robin Dunn
1e545382ca Patch #809286 and a couple other minor changes to the stc sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 18:40:13 +00:00