Commit Graph

34635 Commits

Author SHA1 Message Date
Julian Smart
5f35b46aab First cut at wxRichTextCtrl documentation
Put wxTextAttr into separate file to allow correct ordering


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 20:30:58 +00:00
Julian Smart
b3f6656af6 Removed duplicate wxDCClipper documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 20:21:49 +00:00
Julian Smart
c851c8b468 Swapped parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 19:51:14 +00:00
Julian Smart
563d25babe Need to convert from physical to logical units inside HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 16:43:54 +00:00
Vadim Zeitlin
6fd54d582d don't set the size to the full screen for the windows which are maximized before being shown, just set the pending size to make sure that layout calculations work correctly but without breaking restoring the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 14:21:58 +00:00
Vadim Zeitlin
0d6fdb3cbd use WM_NCCALCSIZE in DoGetClientSize() if the window has deferred size, even if it's toplevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 14:19:41 +00:00
Vadim Zeitlin
977f50f3fd don't ignore dialog code when processing Ctrl-keys; otherwise text controls and listboxes never get Ctrl-PageUp/Dn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:27:46 +00:00
Vadim Zeitlin
45262a3415 avoid asserts by not using GetSelection() with multi selection listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:25:18 +00:00
Vadim Zeitlin
1a8b677e3b added wxHyperLink and context help testing code (not sure if either of them should actually be here...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:16:55 +00:00
Vadim Zeitlin
efe5e221b4 support Ctrl-PageUp/Dn for changing the notebook pages in addition to [Shift-]Ctrl-Tab (this is also a standard key combination)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:08:00 +00:00
Vadim Zeitlin
b3e5d05894 we don't need to override MSWTranslateMessage(), it was a wrong workaround for the bug fixed in rev 1.41 of src/msw/evtloop.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:00:11 +00:00
Vadim Zeitlin
f638866768 call MSWProcessMessage() for the window itself, although a comment said that this was done it, in fact, wasn't (since rev 1.11 when this was changed, apparently accidentally)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:59:01 +00:00
Vadim Zeitlin
0c9da2fa86 moved wxUSE_MS_HTML_HELP to MSW-specific setup.h, it's not used on other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:04:56 +00:00
Angel Vidal Veiga
4d8b1e4791 Old socket code has no wxDatagramSocket::Connect() or DisconnecT(), removing from HEAD docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 17:32:56 +00:00
Stefan Csomor
739cb14a31 making sure mac filenames are always decomposed D Unicode UTF8 and the internal wxStrings are using composed D Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 14:24:14 +00:00
Angel Vidal Veiga
033ab32e66 wxDatagramSocket docs added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 12:37:30 +00:00
Angel Vidal Veiga
5938a184a5 Fixes tex2rtf to search for files on current folder too. This is basically to test my write access (tho also fixes tex2rtf for some people, including me)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 12:01:15 +00:00
Václav Slavík
84b2e3765d fixed wxCheckBoxBase::DoUpdateWindowUI to handle disabling and hiding of the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 10:51:44 +00:00
Stefan Csomor
9fff727353 missing retval
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 09:16:41 +00:00
Stefan Csomor
aee237983f fixing PPI bugs in printer dcs and print preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:45:03 +00:00
Stefan Csomor
db49000e6c fixing PPI bugs in printer dcs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:44:12 +00:00
Benjamin Williams
cc0196c794 added/expanded various comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 07:28:39 +00:00
Robin Dunn
706c14d6d1 Removed __future__ import that has been in the "past" for several
years now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 22:24:00 +00:00
Stefan Csomor
757302fda3 switching all text rendering/measuring to ATSUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:25:40 +00:00
Stefan Csomor
dfd468aafd moving UniChar code to one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:23:37 +00:00
Vadim Zeitlin
0910467e7c call wxApp::OnInit() from MyApp::OnInit() so that standard options (like wxUniv --theme) work with the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 13:47:45 +00:00
Vadim Zeitlin
65f0638484 flush stderr in wxSafeShowMessage(): this might be unnecessary but definitely doesn't hurt and could be useful if stderr is redirected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 12:42:06 +00:00
Julian Smart
562b006812 Moved wrongly placed hit test constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 12:04:19 +00:00
Julian Smart
13127359b0 Changed order of libs to fix linking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:19:12 +00:00
Stefan Csomor
a0ef88bde8 fix for potential crash when conversion fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:16:49 +00:00
Stefan Csomor
1ae82ba9f2 fix for potention crash when conversion fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:07:50 +00:00
Julian Smart
8b6682b97c Respun configure for richtext library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:55:33 +00:00
Julian Smart
c69f98840b Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:50:32 +00:00
Julian Smart
3b2cb4316b Moved wxRichTextCtrl to its own library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Robin Dunn
ae200bfcb5 Added SWIG patches to allow compiling the generated code with
Python 2.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 02:34:31 +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
Julian Smart
1215ec07d8 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 17:45:13 +00:00
Vadim Zeitlin
1bc7969717 added missing wx/sizer.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 14:01:35 +00:00
Julian Smart
d876667522 Fixed zoom problem (Robert J.Lang)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 12:56:05 +00:00
Julian Smart
7f0d9d717d Added support for tabs in wxRichTextCtrl (Ashish More)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 10:57:20 +00:00
Robin Dunn
b02396e86f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 23:05:12 +00:00
Robin Dunn
e0c068c0e8 new wxTreeEvent ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:46:34 +00:00
Robin Dunn
6eed24bf78 Don't use custom bg style except on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:39:31 +00:00
Robin Dunn
9718662d67 Picker control updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:37:13 +00:00
Robin Dunn
cf952100f3 Changed call order of the PreCreate method, and pass the pre instance
to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:36:24 +00:00
Robin Dunn
3ad84671d3 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:35:33 +00:00
Robin Dunn
48e71d8ad7 New SetModified method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:33:14 +00:00
Robin Dunn
c6e49b914c New wxNB_HITTEST_ONPAGE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:31:36 +00:00
Robin Dunn
cbb4b39d97 Added missing platform constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:47 +00:00
Robin Dunn
a43dbe7260 Remove use of wxHIDE_READONLY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:12 +00:00