Commit Graph

38544 Commits

Author SHA1 Message Date
Vadim Zeitlin
1c714a5d07 implement To/FromWchar() as wxCSConv methods, otherwise wxCSConv(wxFONTENCODING_UTF16) didn't work correctly even if the underlying wxMBConvUTF16 did
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 16:19:34 +00:00
Vadim Zeitlin
b51abd7380 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 15:58:32 +00:00
Vadim Zeitlin
6f3e46c204 added test cases for wxTextInputStream and UTF-xx encoded text (based on patch 1611286)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 15:57:33 +00:00
Vadim Zeitlin
73b30256a0 default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:52:59 +00:00
Vadim Zeitlin
23c06cde5d ignore warning 4535 for VC8 too as it still seems to be harmless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:38:41 +00:00
Robert Roebling
31a7f7c5ea Mention that GetEditControl is only missing in Mac version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 13:42:29 +00:00
Stefan Csomor
507d5748d6 fixing memory leaks (toolbartool not released) and a bug where native embedded controls were not beeing released correctly in situations where the native toolbar does not get really used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 09:48:28 +00:00
Paul Cornett
5a3ef19432 fix for SetPosition/SetInsertionPoint when called during Freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 06:21:15 +00:00
Robin Dunn
6d3e4e02c7 Clear error if wxPyConvertSwigPtr failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:47:12 +00:00
Robin Dunn
d81ab2beb8 Use correct flags Chinese
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:46:22 +00:00
Robin Dunn
a2bc9053f8 MustHaveApp(wxWindow_FromHWND);
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:28:47 +00:00
Paul Cornett
ec439571cb re-enable blocking of wx idle events when assert dialog is showing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 17:22:08 +00:00
Stefan Csomor
bf9a1615ed switching from native rtti to wxrtti
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 15:06:38 +00:00
Robin Dunn
589abe2cdb get rid of one of the extra slashes in the download URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 02:46:22 +00:00
Vadim Zeitlin
bf34520682 1. don't assert if we're passed an empty defaultDir and full path in
defaultFileName (the other ports don't do it)
2. don't duplicate gtk_file_chooser_set_current_folder() calls for
   save and open dialogs unnecessarily
3. reformated a couple of comments to fit in 80 columns


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 00:35:55 +00:00
Vadim Zeitlin
04680d2c7e use MAP_INVALID_UTF8_TO_PUA instead of MAP_INVALID_UTF8_TO_OCTAL in wxMimeTextFile to avoid quoting backslashes (which occur naturally in MIME files) in Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 00:01:52 +00:00
Robert Roebling
8798d146b8 No longer break idle (and indeed all) event handling
after using the assert dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 21:38:09 +00:00
Robin Dunn
6ca744908a minor build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 21:03:45 +00:00
Robin Dunn
d48ae46b24 ignore a const overloaded method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 21:02:57 +00:00
Paul Cornett
9e477492e2 bitwise vs. logical operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 16:29:58 +00:00
Paul Cornett
61d8dec77f static functions don't need an instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 09:00:52 +00:00
Paul Cornett
d7e15728ea correct access for virtual, declare variable only if used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:59:19 +00:00
Paul Cornett
80a91c146a class/struct mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:57:44 +00:00
Paul Cornett
291324e376 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:56:57 +00:00
Paul Cornett
bc48a5d75e correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:22:55 +00:00
Paul Cornett
f4c4697652 remove redundant test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:20:56 +00:00
Paul Cornett
6fbe4b247a use correct test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:20:16 +00:00
Paul Cornett
f7b7521722 indentation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:18:38 +00:00
Paul Cornett
41e2aad530 use computed justification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:18:03 +00:00
Paul Cornett
964c139b07 unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:16:14 +00:00
Paul Cornett
02112408ba fix wrong parenthesizing of boolean expressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:15:07 +00:00
Paul Cornett
2c685efab1 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:50:54 +00:00
Paul Cornett
7d7e4ed073 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:47:43 +00:00
Paul Cornett
34e2020099 don't use %d to print pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:47:05 +00:00
Paul Cornett
3498362ed5 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:44:44 +00:00
Robin Dunn
4fe9ce473e wxRect2DDouble --> wxRect2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 03:27:25 +00:00
Robin Dunn
cce4a2cec8 clip the bitmap to the size of the source DC in DoBlit if neccessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 03:07:30 +00:00
Vadim Zeitlin
16d17da6ca explicitly call OnExit() in the ports which don't use wxEventLoopManual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 23:28:44 +00:00
Kevin Ollivier
99b37d672b Implement SortItems for native OS X wxListCtrl to match behavior with other impls, and request an update when an item's data changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 23:14:20 +00:00
Robert Roebling
0588f41d66 Correct Unicode support topic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 21:47:03 +00:00
Robert Roebling
4d21409ebc I blindly believe that WinCE doesn't delete a
directory with CreateDirectory.
  [ 1610415 ] wxWinCE remove directory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 21:40:00 +00:00
Vadim Zeitlin
5059e05d42 we don't need to include wx/url.h from the header, we do need to include wx/uri.h from the .cpp file (fixes compilation when wxUSE_URL==0 but wxUSE_PROTOCOL_FILE==1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 19:20:40 +00:00
Václav Slavík
5ea50c92a5 use WXDFB_FONTPATH variable instead of WXDFB_FONTDIR and search the dirs recursively for fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 18:48:04 +00:00
Vadim Zeitlin
026ff75b75 don't leave dummy extension in of.lpstrDefExt (bug 1609614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 17:17:37 +00:00
Vadim Zeitlin
c66972ccc2 ask for BPP for .bmp extension, not .bpp one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 17:13:11 +00:00
Kevin Ollivier
c70aaa0984 Fix eating of key events (cleaner impl will come after 2.8, right now I want to touch as little common code as possible) and add some extra checks to the Cocoa delegates as they are getting called when the Carbon control isn't in a valid state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 04:37:32 +00:00
Robin Dunn
248802d010 Add wxGraphicsMatrix::Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 23:42:52 +00:00
Robin Dunn
474e2ff2c8 Try using locale.getpreferredencoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 20:42:32 +00:00
Robin Dunn
30e24d9dd5 fix building/running of tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 20:40:50 +00:00
Robin Dunn
5fe636c6e2 wx.lib.masked: Patch from Will Sadkin. Includes Unicode fixes, plus
more helpful exceptions and ability to designate fields in mask
without intervening fixed characters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 18:57:31 +00:00