Commit Graph

25771 Commits

Author SHA1 Message Date
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
Robin Dunn
71c9ea2b9e Avoid the IsVisible assert in GetNextVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 17:55:56 +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
Julian Smart
23fba6860a Added missing functions and variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 15:55:14 +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
b48a2016d0 Rebake after MacOS CarbonLib additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 06:00:58 +00:00
Stefan Csomor
9543e985ff switching to defines not having a value for __WXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 05:57:25 +00:00
David Elliott
7b8609300d wxMac: Rearrange a few things and add support for CarbonLib build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 05:10:02 +00:00
David Elliott
27a17b74f8 Use PLATFORM_MACOS. PLATFORM_MAC is defined for OS X (no good).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 05:02:01 +00:00
David Elliott
c8c1b0bfb1 HACK: Add PLATFORM_MACOS as an option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 04:57:21 +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
David Elliott
184213a42a Added src/tiff/tif_apple.c when PLATFORM_MAC==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 23:45:04 +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
Stefan Neis
eebaafb582 Fixed "pragma interface" handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 18:15:53 +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
9c0a4cb4e1 the position attribute is called 'pos', not 'position'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 11:42:28 +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
Václav Slavík
db6b57fff5 compilation fixes for gcc-3.4 + Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 08:36:06 +00:00
Václav Slavík
88fd7006f4 fixed spelling of -checkcurleybraces (patch #1054304)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 08:31:03 +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
Ron Lee
92ea30ce14 Patch from Paul Cornett, clean up side effects in obtaining legacy
config and remove unneccessary line continuations et al.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 05:01:46 +00:00
Ryan Norton
a9e9946154 Rename some tests to avoid conflicts with project builder GUI debugger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 04:41:27 +00:00
Robin Dunn
72ddfce0dd PNG Alpha is working on wxGTK2 now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:39:44 +00:00
Robin Dunn
1c39400cd7 tweak the path so ccache is found first on both build machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:39:03 +00:00
Robin Dunn
67a6f449e1 fixed typo causing a syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:36:54 +00:00
Robin Dunn
c59e73e82d Ensure the first EVT_SIZE has happened before the first EVT_PAINT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:35:54 +00:00
Robin Dunn
0ae3862362 Remove non-ascii characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:33:29 +00:00
Robin Dunn
630edaac3c Use wx.FULL_PAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:30:16 +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
3b01b1fe4c wxMac uses wxStandardPathsCF to mean wxStandardPaths in its wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 07:41:30 +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
459c621258 mark incompat and depreciated changes for wxURL, add UTF7 mention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 02:40:59 +00:00