Commit Graph

25745 Commits

Author SHA1 Message Date
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
Kevin Hock
052d2fc581 Better alphabetized the event handler macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 01:54:17 +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
e313e308c0 Build the new cfstring stuff for both wxMac (as part of Mac's base) and wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:37:41 +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
Robin Dunn
9004ba6af3 version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:12:00 +00:00
Robin Dunn
59d8365073 Set "rc1" in version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 17:15:16 +00:00
Robin Dunn
38d45b1014 Use $ on variables!!!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 17:14:19 +00:00
Robin Dunn
156fa22b80 Don't just assume that the metadata files will be found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 17:12:59 +00:00
Robin Dunn
75a937411c Save a reference to the async sound object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 16:50:07 +00:00
Julian Smart
89f0d32f7e Use Courier New instead of Courier, to avoid bad characters
appearing in PDF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 15:24:41 +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
Václav Slavík
c20d8682bd check if conversion to UTF7 works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 09:29:52 +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
494b978fc1 add some asserts for wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 05:52:16 +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
Robin Dunn
5bb05e6dc6 I think that going to the home page woudl be more user friendly than
to the SF download page, but make it a module attr so the app can
change it if it's really needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 20:34:52 +00:00
Robin Dunn
7dc107d60c add skipupload flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 20:32:14 +00:00