Commit Graph

39720 Commits

Author SHA1 Message Date
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
Julian Smart
21f7b53d4f Replaced tabs with spaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 07:50:00 +00:00
Benjamin Williams
c007ebeaca in wxAuiNotebook, prevent unwanted page selection changes during tab drags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 15:11:35 +00:00
Václav Slavík
38c8f6b67e XRC: Handle wxFLP_USE_TEXTCTRL in wxFilePickerCtrl handler (patch #1745662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 09:06:20 +00:00
Robin Dunn
ab5ba3a010 copy wxAutohacks into main tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:09:32 +00:00
Robin Dunn
b4e90b91d6 copy wxAutohacks into main tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:09:31 +00:00
Robin Dunn
69635c0066 Move wxPython portion of wx 2.8 branch to new location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:06:00 +00:00
Vadim Zeitlin
254705fe87 strip the leading dot from extension if present in GetFileTypeFromExtension() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 18:23:39 +00:00
Julian Smart
909fa782a9 Prevent seg fault for older GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 16:59:23 +00:00
Benjamin Williams
4c2a8b753d applied patch 1737156 to wxAuiManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:53:13 +00:00
Benjamin Williams
21a35b7088 in wxAUI, set the hint transparency before showing the hint window, as this prevents a flicker of the solid hint window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:34:25 +00:00
Benjamin Williams
5aadb60fc3 updated change log with information about wxAuiNotebook updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 09:35:59 +00:00
Vadim Zeitlin
1006538504 restored key events generation (backports 45371 from the trunk, closes bug 1724916)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 01:51:11 +00:00
Robin Dunn
8a50922bbe be able to change tabs with arrow keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 00:23:18 +00:00
Robin Dunn
fc0691ce71 Patch from Andrea. Adds focus rectangle on the tabs, and provides
best size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:38:59 +00:00