Commit Graph

40711 Commits

Author SHA1 Message Date
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
Robert Roebling
6cdcbce3e5 Use wxDataViewItem, not row to index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:21:28 +00:00
Robert Roebling
b5fce9e2df Store pointers in wxDataViewItem in the sample, no any artifical int ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:15:10 +00:00
Robert Roebling
9d52aad39a change wxDataViewItem id to void*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:01:05 +00:00
Robert Roebling
704c349086 Patch from Bo for generic wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 10:37:04 +00:00
Vadim Zeitlin
1c5eeec392 simplify the test for build setup.h being out of date (do it as in the patch 1752567 for consistency with 2.8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 20:49:45 +00:00
Vadim Zeitlin
61478ea03f added wxUSE_CONSOLE_EVENTLOOP around wxConsoleEventLoop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:33:16 +00:00
Paul Cornett
2e38bcd2dc fix for monolithic build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:32:20 +00:00
Vadim Zeitlin
ce0bb89d45 no real changes, just added an extra status message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:31:00 +00:00
Vadim Zeitlin
5f1f21d2a5 create greyed image for wxBitmapButton in MSW automatically, as in wxGTK (replaces patch 1734018)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:29:20 +00:00
Robert Roebling
e63807a8a4 Add test for deleting item from wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 14:08:08 +00:00
Václav Slavík
0c8ae72029 convert bitmap's surface to RGB24/ARGB in wxBitmap::GetRawData() if it uses different format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 10:05:09 +00:00
Václav Slavík
ea88e9bca9 don't export private stc2wx(), wx2stc() functions from wxSTC shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 08:10:29 +00:00
Vadim Zeitlin
39931206f7 regenerated after wxUSE_SELECT/EPOLL_DISPATCHER additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:32:36 +00:00
Vadim Zeitlin
78355ffc7b make the path absolute before using it with gtk_file_chooser_set_current_folder() (patch 1753796)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:30:46 +00:00
Vadim Zeitlin
2d1593cd4b replace RunLoop() call with Dispatch() after wxFDIODispatcher changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:27:30 +00:00
Vadim Zeitlin
b20573601f allow setting empty tooltip in SetIcon() (patch 1750994)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:26:07 +00:00
Vadim Zeitlin
d31a4a84fb don't leak epoll descriptor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:22:27 +00:00
Vadim Zeitlin
0a6c4c2e3b corrected #if check which was written as #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:22:05 +00:00
Vadim Zeitlin
5e1eac149f create the single global IO dispatcher in wxFDIODispatcher; don't use wxSelectDispatcher in wxGSocket as the global dispatcher may be of a different type (modified patch 1733626)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:18:38 +00:00
Vadim Zeitlin
7523de907d replaced wxFDIODispatcher::RunLoop() with Dispatch() which handles only one event at a time (part 1 of the patch 1733626)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:50:38 +00:00
Vadim Zeitlin
af57c51ab7 changed wxFDIODispatcher::UnregisterFD() to take only fd, without flags, and unregister it unconditionally; use ModifyFD() to just change the flags (modified part of patch 1733626)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:41:46 +00:00
Vadim Zeitlin
c11132ca80 ignore bakefile-generated test.dsw too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:40:30 +00:00
Paul Cornett
a9639e76ed fix syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:17:21 +00:00
Vadim Zeitlin
8ba1644391 added include guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:09:35 +00:00
Vadim Zeitlin
a187327964 Added wxUSE_CONSOLE_EVENTLOOP and wxUSE_SELECT/EPOLLDISPATCHER guards;
put checks for them in the new Unix-specific wx/unix/chkconf.h file


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:06:18 +00:00
Vadim Zeitlin
ba51e75bb0 fix harmless unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:52:52 +00:00
Paul Cornett
a1312bc8b2 fix HasPendingEvents() to only return true if there are actually events pending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:18:22 +00:00
Vadim Zeitlin
d970f7d5cb allow using dashes in the names of --enable/with options used with WX_ARG_XXX macros and renamed --disable-all_features to --disable-all-features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:12:32 +00:00
Vadim Zeitlin
3c7410a5ba don't change the wxUSE_XXX for the controls if --enable-controls wasn't specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 17:54:39 +00:00