Commit Graph

40740 Commits

Author SHA1 Message Date
Vadim Zeitlin
ce65118e62 make To/From8bit() inline for performance reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 01:10:22 +00:00
Vadim Zeitlin
cdbcd6c12f rewrite FilterInValue() using iterators, this results iin 12x performance improvement in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 01:03:33 +00:00
Vadim Zeitlin
c225b981b6 check for setenv first, then putenv as using setenv in wxSetEnv() is much easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 23:00:09 +00:00
Vadim Zeitlin
c0472c7c9e added code to free memory allocated in wxSetEnv() when it uses putenv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 22:58:47 +00:00
David Elliott
c978d28a2a Strip mnemonics from the label before passing it to Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:19:52 +00:00
David Elliott
259502c61d Implement wxCocoa wxRadioBox event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 18:52:12 +00:00
David Elliott
18359b1945 Make wxRadioButton::SetValue(true) deselect all other wxRadioButton in its group if it is part of a group.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 18:00:32 +00:00
David Elliott
4c1a4c4180 Implement most of wxRadioBox's methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 17:58:38 +00:00
David Elliott
6420b4c55d Added include wx/timer.h to non WX_PRECOMP case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 17:40:42 +00:00
Vadim Zeitlin
6619edf0ea do platform-specific checks after ensuring that the symbols we use are defined; extract wxGTK-specific checks to wx/gtk/chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 15:47:11 +00:00
Robert Roebling
cf283a470a Better sorting example and better default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 14:03:43 +00:00
Vadim Zeitlin
4f167b46b4 added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:02:28 +00:00
Vadim Zeitlin
6f7f0d0a2d don't assert when right/down cursor arrows are used in an empty tree control with wxTR_HIDE_ROOT style (patch 1756184)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 23:42:58 +00:00
Vadim Zeitlin
5ad2b5ce07 speed up reading wxFileConfig from wxInputStream by factors of 3.5, 20 and 7 for ANSI/wchar_t/UTF-8 builds respectively (replaces patch 1755969)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 23:37:12 +00:00
Vadim Zeitlin
7a3ba5af83 wxGTK/Univ compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 22:01:06 +00:00
Robert Roebling
0be79c8a80 Completed sorting in wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 18:46:28 +00:00
Vadim Zeitlin
01cd7f7575 added documentation of wxUSE_XXX symbols (modified patch 1755127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 18:09:28 +00:00
Vadim Zeitlin
b1fd5b3506 fix broken wxvscrolledwindowsetrowcount link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 18:08:54 +00:00
Václav Slavík
775f4c5361 compilation fix for minimal build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 15:02:05 +00:00
Robert Roebling
4508fcd20a First work at resort with header click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 14:09:26 +00:00
Robert Roebling
9a45b5d576 Forgot this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 13:25:38 +00:00
Robert Roebling
ef4279890a First actual sorting for wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 13:23:57 +00:00
Vadim Zeitlin
e7ff34edfd removed the hyphen from the new --enable{baseevt,epoll,select}loop options description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 12:58:28 +00:00
Václav Slavík
a5001e9361 don't use _T() for literals in wxDFB, it uses UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 10:15:42 +00:00
Václav Slavík
66c71d8a3d use iterators instead of c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 09:44:36 +00:00
Vadim Zeitlin
baac339546 added new libraries (patch from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 23:04:20 +00:00
Vadim Zeitlin
fc715b5088 added missing libraries to the requirements list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:53:43 +00:00
Vadim Zeitlin
8749ce0a6f remove references to contrib (patch from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:51:06 +00:00
Vadim Zeitlin
02b28440a3 check whether the string is non-empty before accessing its first element
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:46:02 +00:00
Robert Roebling
55fbde1232 Some code renaming to avoid confusion. Test editable column in sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:01:47 +00:00
Chris Elliott
f2f1d735ca svn rather than cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 13:25:00 +00:00
Chris Elliott
6865660d5a svn rather than cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 13:24:03 +00:00
Václav Slavík
e93523680b compilation fix for Borland C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 11:59:25 +00:00
David Elliott
9ed9755237 Partially implement wxRadioBox for wxCocoa.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 05:41:35 +00:00
David Elliott
b0a207df87 Add a couple of wxAutoNSAutoreleasePool in some key spots where Cocoa itself does a number of autoreleases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 05:31:49 +00:00
David Elliott
2465458c06 Don't use exceptions to determine lack of a method implementation. Exceptions
aren't designed for this in Cocoa.  Instead, use respondsToSelector:.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 05:14:36 +00:00
Vadim Zeitlin
d42e12e8dd remove file containing many obsolete defines, if anyone wants to revive MicroWindows support the MicroWin-specific checks should be added to wx/msw/chkconf.h or wx/msw/microwin/chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 23:28:15 +00:00
David Elliott
b1c702af6f Added preliminary documentation about how to write new wxCocoa controls.
Basically just a brain dump but it's better than nothing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 23:09:56 +00:00
Vadim Zeitlin
5f6cafd149 test for gettimeofday/ftime even if we don't use wxDateTime -- we still need these functions for wxGetLocalTimeMillis() and wxStopWatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:20:54 +00:00
Vadim Zeitlin
4252569b32 use wxGetLocalTimeMillis() instead of wxDateTime in wxSocketBase::_Wait(), this allows to use sockets without wxUSE_DATETIME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:16:03 +00:00
Vadim Zeitlin
5770bfeb87 compilation fix for wxUSE_LOG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:15:21 +00:00
Vadim Zeitlin
12d0b79493 add wxMilliClockToLong() helper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:14:53 +00:00
Vadim Zeitlin
7bcc9eb973 include wx/dynarray.h to fix compilation with minimal set of wxUSE options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:41:24 +00:00
Vadim Zeitlin
434e29032f add wxUSE_BASE64 checks around DoRead/WriteBinary() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:38:42 +00:00
Vadim Zeitlin
8e16c3f2b6 include wx/longlong.h to fix compilation with wxUSE_DATETIME==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:33:27 +00:00
Václav Slavík
92d912a2c9 support real transparency for controls that return HasTransparentBackground() in wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 18:57:40 +00:00
Václav Slavík
7dfe6f2a51 compilation fix for wxStrtod and friends: non-zero int can't be passed as pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 18:52:53 +00:00
David Elliott
9550ee9870 The wxUSE_EPOLL_DISPATCHER (like other wxUSE flags) is a 0/1 not an undef/def conditional.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 17:01:16 +00:00
Vadim Zeitlin
47124ca667 fix WX_ARG_WITH behaviour when it's used before wxUSE_ALL_FEATURES is defined, as for --without-subdirs option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 16:18:41 +00:00
Vadim Zeitlin
98883bca6f added unistd.h include for close()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 13:10:20 +00:00