Vadim Zeitlin
901abc184c
allow setting empty tooltip in SetIcon() [backport of rev 47474 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:27:01 +00:00
Vadim Zeitlin
ec0b903a1d
cast abs() argument to int (from long) as BCC 2007 doesn't define abs(long) overload in stdlib.h (only cstdlib)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 11:07:40 +00:00
Benjamin Williams
e945389331
fix for bug #1747890 - close button problem fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:06:41 +00:00
David Elliott
993c3acd5e
Merged 47382:
...
Fix Raise and Lower to leave all other sibilng views in the order they were in.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 22:30:56 +00:00
David Elliott
f4bf53c757
Merged 46227 from trunk (Note:CVS):
...
Allow many Objective-C classes to be uniquified at runtime.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:49:41 +00:00
David Elliott
f9f9b40c64
Merged 46116 from trunk (NOTE: CVS):
...
* Add public wxApp::sm_isEmbedded flag like on wxMac. Default initialization
to true but a plugin can set it to false to cause wxCocoa to not initialize
things like the application delegate or the menubar manager.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:30:31 +00:00
David Elliott
428424f525
Merged modified 46013 from svn trunk (NOTE: CVS).
...
Rework idle handling so that NSApplication does not need to be subclassed or posed as.
Copyright Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:14:45 +00:00
David Elliott
f5d9bc0a49
Provide versioning for backport of 46117 (wxLog::DoCreateOnDemand).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 20:25:10 +00:00
Vadim Zeitlin
ed3c1af165
use wxLongLong::ToLong() and not GetLo() to extract time_t value in GetTicks(): they are very different on 64 bit platforms [backport from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:48:10 +00:00
David Elliott
65f7483bd6
Merged 47182 from svn trunk:
...
Make wxCocoa compile in 64-bit mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 03:06:22 +00:00
David Elliott
4084e91fe6
Merged 46226 from svn trunk (Note: CVS):
...
Add implementation of Objective-C class name uniquifying.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 02:49:34 +00:00
David Elliott
8729117682
Merged 46117 from trunk. (Note: CVS):
...
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
logging will work even if wxWidgets is reentered after being cleaned up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 02:36:29 +00:00
David Elliott
3274765ffd
Merged modified 46014 from trunk (Note: CVS).
...
This version only removes the include of ObjcPose.h from source files that no longer need it due to the previous commits. ObjcPose.h still remains and is still used by the NSApplication code until I can do the necessary modifications to backport that without breaking ABI compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 22:34:42 +00:00
David Elliott
40d19e2b59
Merged 47384 from svn trunk:
...
Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:46:46 +00:00
David Elliott
2d654f593f
Merged 47226 from trunk:
...
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:44:57 +00:00
David Elliott
3b4012e471
Merged r45869 from trunk (Note: CVS, rename done using svn move on 2.8 version):
...
Move src/cocoa/utils.cpp to src/cocoa/utils.mm.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:30:50 +00:00
David Elliott
1d98985358
Merged slightly-modified r45749 from trunk (Note: CVS):
...
Add comments and a debugging aid to Get/SetLabel implementations which are intentional no-ops for wxCocoa.
Copyright Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:24:26 +00:00
David Elliott
8933152887
Merged (slightly modified to maintain ABI compatibility) r45554 from trunk (Note: CVS):
...
Remove Objective-C class posing for everything except for NSApplication.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:17:27 +00:00
Robin Dunn
005638a1d7
Bump sub-release number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:53:29 +00:00
David Elliott
a73e1b2d97
Merged r45553 from trunk (note: CVS):
...
Move Objective-C interfaces into separate header files in preparation for being able
to use them from other source files.
No new or changed code. Work on behalf of Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:46:00 +00:00
Kevin Ollivier
0ebe472f38
Update to work with the latest wxPython and to work with more shells. Also, get the script's directory
...
using $0 rather than relying on it to be run from the dir it lives in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:06:09 +00:00
Stefan Csomor
a0a4f762d3
forcing bitmap type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 15:16:03 +00:00
Julian Smart
9d3f10cc34
Test for wxUSE_UXTHEME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:55:11 +00:00
Julian Smart
aa53874e59
Fixed a crash in wxGrid on creation due to OnSize being called too soon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:37:18 +00:00
Julian Smart
06e3372526
Avoid a crash due to OnSize being called before initialisation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:32:10 +00:00
Robin Dunn
c6d2cc32d7
Switch GetHeaderButtonWidget to use a real column header button.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 17:00:12 +00:00
Robert Roebling
6027b33b15
Block all events in wxSpinButton::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 12:00:48 +00:00
Robert Roebling
ef1e53d1b3
Block all events in wxSpinCtrl::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:48:41 +00:00
Robin Dunn
af6c0493cf
Need to send an event in the wxCP_NO_TLW_RESIZE case too so the user
...
code knows when to update the layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 19:49:50 +00:00
Robin Dunn
f225e6ed83
Use a button that has a tree widget as a parent as the widget style
...
for DrawHeaderButton, as this is apparently how the gtk themes decide
whether to draw a normal button or a column header button.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:30:38 +00:00
Vadim Zeitlin
49266c6b45
generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change [backport of rev 47265 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 15:00:42 +00:00
Julian Smart
10c14670ec
Added gravity
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:31:09 +00:00
Paul Cornett
6a467b6cc6
process pending wx events before sending idle events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
Kevin Ollivier
5719de8643
Fixing mixed tab/spaces indentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 04:35:11 +00:00
Vadim Zeitlin
d88636da66
use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:43:06 +00:00
Vadim Zeitlin
a4ae2e8c81
remove the unneeded +1 from wxGauge::SetValue() call in Update() [backport of rev 47192 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:13:37 +00:00
Michael Wetherell
bcfabaa871
Fix missing exports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 07:44:19 +00:00
Vadim Zeitlin
fedc6cd535
prevent a single selection control from having multiple selected items [backport of 47175 and 47176 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:52:30 +00:00
Vadim Zeitlin
056ae23eeb
fix the memory corruption in multiline controls due to wrong WrapLines() implementation [backport of rev 45343]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:37:36 +00:00
Vadim Zeitlin
6b0792e009
simplify test for 64 bit architectures: just check if the string '64' occurs in the arch string, this also covers more cases [backport of rev 47127 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 22:33:59 +00:00
Vadim Zeitlin
c24b72715b
fixed bug which resulted in generation of spurious EVT_RADIOBOX events when a radiobox button was focused but not selected (patch 1739140) [backport of rev 47124 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:24:41 +00:00
Benjamin Williams
b3d886a215
fix for bug #1686328
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 16:38:03 +00:00
Václav Slavík
df9eb68cb5
compilation fixes: \_, not _
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 08:18:55 +00:00
Paul Cornett
2a0eb543b2
get color count from ComputeHistogram, use sprintf for hex conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 17:17:20 +00:00
Robert Roebling
3e755df90b
[ 1746670 ] wxGnomePrintDC::GetTextExtent() returns wrong size of text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 12:58:30 +00:00
Robert Roebling
804ce4d2b2
Use the same 250ms when waiting for slow-clicks for starting
...
the edit label process in wxTreeCtrl and wxListCtrl.
Take icon size in the first column into account when shwoing
text control.
Only activate label editing when clicked on the first label,
not somewhere else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 12:00:58 +00:00
Robert Roebling
88a48ead61
Let GtkScrolledWindow handle scroll wheel events.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 11:13:19 +00:00
Robert Roebling
b1a7ff6ca0
Move visible scroll range after scrolling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 11:10:58 +00:00
Paul Cornett
1a5f13bcf5
fix XPM SaveFile for more than 92 colors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 03:08:26 +00:00
Julian Smart
33fac1eaf7
Added SetBitmap, GetBitmap to wxWizard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:17 +00:00