Commit Graph

14344 Commits

Author SHA1 Message Date
Robert Roebling
7c72311fe1 Added --with-gnomeprint and its wxUSE_LIBGNOMEPRINT
Removed the now obsolete test for FT2 (FreeType)
    which was used by the Pango based printing which
    I removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 18:40:51 +00:00
Ryan Norton
638357a03e rewrite core foundation conversion to be efficient, double-pass mac WC2MB to verify that there were no invalid characters converted, set amount of memory to allocate to 32 for mac conversion to prevent needless large buffer allocations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 18:03:04 +00:00
Ryan Norton
04fa0af10e warning fix for 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 18:03:03 +00:00
Julian Smart
780fb83cb0 Fixed bug in setting/getting value for wxComboBox. Read-only status
is taken into account.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 15:58:56 +00:00
Robert Roebling
2c84e0c259 Added possibility to select a printer reported
by CUPS as a target. Some other corrections.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 15:24:44 +00:00
Robert Roebling
1e6601c72f wxListCtrl::InsertItem() ignored the column.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 12:09:18 +00:00
David Elliott
6b1a8b64f1 Declare namespace std {} before using namespace std; for MetroWerks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 00:38:32 +00:00
David Elliott
e0ea0b7f1c Work around the fact that Metrowerks (CW 8.3) and Apple (10.2.8 sdk) headers
try to detect each other and change their behavior but just wind up screwing
everything up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 00:01:40 +00:00
David Elliott
5f5f809d57 #include "wx/settings.h" wxSystemSettings is needed by non-OSX code.
Typically precompiled headers are used so this hadn't been noticed before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 23:53:39 +00:00
Robert Roebling
b45dfd0a8b Moved the wxPageSetupDialogData <-> native conversion
code for MSW to the appropriate file in src/msw/printdlg.cpp
  Removed the now obsolete printer setup dialog code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 23:43:41 +00:00
David Elliott
072a99f431 Do not use framework includes in CFM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 21:46:12 +00:00
Stefan Neis
0f2b2fb811 Removed debug output.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 19:34:31 +00:00
Stefan Neis
d5a547f391 Newest version of script(s) for creating DLLs - now divided in two,
main script takes additional argument for script generating DLL name,
        new script generates DLL names from (too long) library names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 19:33:07 +00:00
Ryan Norton
ba5a47aed8 because gcc is dumb and can't tell the difference between a std::string and a wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 18:26:03 +00:00
Robert Roebling
93c2f401e9 Moved print dialog data conversion code
from cmndata to its msw place.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 16:34:02 +00:00
Robert Roebling
53fa663af1 Small change to ease Mac transition to common
native data printing code later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 14:59:11 +00:00
Robert Roebling
f85b45fb12 Copyright notice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 13:50:09 +00:00
Václav Slavík
8b34993daa added 'icon' property to wxFrame and wxDialog in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 11:42:27 +00:00
Ryan Norton
fd5e476dbb note broken code, cast hack to fix warning on pickier compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 06:23:16 +00:00
Ryan Norton
dbb6c0a968 fix const error on sane (not msvc) compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 06:13:18 +00:00
Ryan Norton
997ba01b28 restore ConvertToValidURI to prev. version for bw compat. Note changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 20:22:24 +00:00
Ryan Norton
e4e3bbb447 solution to wxMBConv stuff - make a seperate XX2XX for strings of a specified length, use this in wxString instead of previous worst-case method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 20:16:25 +00:00
Václav Slavík
9026d6fd7f usability improvement: set focus to text control so that the user can directly type directory name instead of using both mouse and keyboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 20:04:16 +00:00
David Elliott
294d965baf CodeWarrior (8.3 mwcc) thinks that it cannot compare id (a struct objc_object*)
with NSView* for equality.  This is of course completely against the
Objective-C language specification but we'll fix it anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 06:31:07 +00:00
David Elliott
5447d1e1e3 CodeWarrior (8.3 mwcc) can't figure out that it needs to do C++ automatic
conversion from wxObjcAutoRefFromAlloc<NSButton*> to NSButton* when it is
used as the receiver of a message.  Help it along with a static_cast.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 06:23:38 +00:00
David Elliott
52cbcda351 Declare namespace std {} before using namespace std; for MetroWerks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 06:14:10 +00:00
David Elliott
e73ae7474c Fixed compilation with precompiled headers.
Removed include <objc/objc-runtime.h> from window.mm, it's not needed anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 05:53:33 +00:00
David Elliott
d841895246 CodeWarrior dislikes #include <> syntax for in-tree headers, prefer ""
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 05:41:10 +00:00
David Elliott
c096ba5ea1 Make wxString::WorstEncodingCase take a const wxMBConv&
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 05:33:47 +00:00
Ryan Norton
15f2ee3270 [ 1054664 ] Implementation of wxMBConvUTF7 (Heavily modified in places), utf7 unit tests change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 22:10:26 +00:00
David Elliott
726b98e9a1 Added wxStandardPaths for wxMac and wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 21:38:33 +00:00
Ryan Norton
03ff8fda8d Add wxString::WorstEncodingCase, other various cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 21:06:28 +00:00
David Elliott
83bd1fd925 Build src/mac/corefoundation/cfstring.cpp and src/common/uri.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 20:22:36 +00:00
Ryan Norton
6cc280ca91 somewhat modded [ 1056879 ] use wxURI::Unescape vs wxURL::ConvertFromURI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 20:19:49 +00:00
David Elliott
5185263fc5 Moved wxCFStringHolder and some other string functions to their own files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:29:35 +00:00
Ryan Norton
854451e2f8 have wxbuiltin wxmbconvutf7 return -1 (error) not 0. Some cleanups in string.cpp. Add some unit tests for utf7 and cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 11:13:41 +00:00
Ryan Norton
bdd8f35a58 Handle bad conversions correctly. Add Bad UTF8 test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 10:13:59 +00:00
Ryan Norton
930357bd25 Handle invalid conversion slightly better, ecapsulate literal chars with wxT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 08:55:58 +00:00
Ryan Norton
6632a38a9b Remove erronues file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 07:16:53 +00:00
Ryan Norton
72606b430e increase worst case for UTF8 to *4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 23:05:47 +00:00
Ryan Norton
44d271da3e increase worst case to *4 for UTF8, switch a memcpy for wxMemcpy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 23:01:46 +00:00
Vadim Zeitlin
9266e0ecde undid last change to wxBitmapButton::GetBestSize(), in fact it doesn't make sense to support wxBU_EXACTFIT for it at all, so just removed the code doing it and mentioned it in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 22:43:14 +00:00
Ryan Norton
ce321570b0 wxURL - doc cleanups, depreciated more methods, more source comments. wxURI - enclosed literal characters with wxT, more source comments, doc cleanups, changed StartsWith(x) to [ou] == x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 22:22:40 +00:00
Vadim Zeitlin
97786ab70f fixed wxBU_EXACTFIT handling in wxBitmapButton (closes 1056234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 16:47:39 +00:00
Włodzimierz Skiba
1ccc19ce9d Borland warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:48:32 +00:00
Włodzimierz Skiba
ce403057df Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:43:53 +00:00
Włodzimierz Skiba
bee671476e Warning fix due to unsigned nature of wParam.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:41:35 +00:00
Václav Slavík
c4d25c01ae fixed wxTextCtrl::EmulateKeyPress to work in Unicode build of wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:19:39 +00:00
Vadim Zeitlin
adb61e4d0d temp compilation fix for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 10:54:50 +00:00
Ryan Norton
174f2229cd Use proper wxURI unescape instead of old way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 10:00:05 +00:00