Commit Graph

2799 Commits

Author SHA1 Message Date
Julian Smart
89639ecdba Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 10:51:33 +00:00
Robin Dunn
b445553485 Use 1040 for the PPC VERSION_MAX_ALLOWED, and do a proper weak linker
reference check for CGContextSetBlendMode.  This allows the wxPython PPC half of the 
Universal binary to be fully functional on Tiger+.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 19:35:57 +00:00
Stefan Csomor
4c2356097d fixing the HITextView single line scrolling under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 16:53:10 +00:00
Julian Smart
cb6a7b264e Set the object for the context menu event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 15:28:39 +00:00
Stefan Csomor
94ca03630b fixing bug 1841377
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 09:14:44 +00:00
Stefan Csomor
bbe295ba4d fixing potential alignment error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 09:52:19 +00:00
Robin Dunn
b80bba0f09 Use kControlContentIconRef for toolbar bitmap buttons. Fixes bug #1826474
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:48:15 +00:00
Stefan Csomor
54be106d59 optimizing scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 13:05:15 +00:00
Stefan Csomor
51156271b7 focus fixes for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 10:51:20 +00:00
Stefan Csomor
aee427f150 attempt to fix part of the focus problem under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:36:29 +00:00
Stefan Csomor
17532da814 setting selection to 0,0 in create, bug 1826548
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 08:06:46 +00:00
Stefan Csomor
4a2f97be30 forgot one 10_5 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:35:55 +00:00
Stefan Csomor
28a22e2687 fixing #if s for Leopard SDK and running on older systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:15:22 +00:00
Stefan Csomor
219708e588 frame tools without decorations are done using plainwindowclass, but this also must have a scope activation of none, otherwise the frame gets incorrectly deactivated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 21:49:53 +00:00
Stefan Csomor
ddfbff357f avoiding refcount checks under Leopard, the behaviour differs there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 21:24:23 +00:00
Stefan Csomor
aba999a319 if we don't have a valid background color, paint a white grow box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 14:21:15 +00:00
Stefan Csomor
b644173858 narrowing allowed classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 14:06:59 +00:00
Stefan Csomor
cdc86e05a3 applying slightly modified patch 1825163
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 11:28:41 +00:00
Stefan Csomor
639db60ccb factoring common code, applying patch 1825183
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:32:30 +00:00
Stefan Csomor
8a4529c6a6 factoring common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:30:16 +00:00
Stefan Csomor
6c2324fa9c factoring common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:28:11 +00:00
Stefan Csomor
7063c559ec factoring common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:27:33 +00:00
Stefan Csomor
43df4ed8f5 adding alignment, indent, and tab support (only 1 distance)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 13:53:02 +00:00
Robin Dunn
5cd9237f3a Ensure we don't reset the group parent if it wasn't set at the begining
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 23:31:35 +00:00
Kevin Ollivier
a45091ed51 Fix GetLabel and GetLabelText to be consistent with other platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 01:59:45 +00:00
Kevin Ollivier
301f9db326 Implement IsItemShown and IsItemEnabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 01:58:25 +00:00
Kevin Ollivier
0f9706b3c8 Return the value set, even if we aren't currently using the value in the implementation. This keeps unit tests from asserting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 01:57:13 +00:00
Robin Dunn
3aca1743e7 Patch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 21:34:11 +00:00
Kevin Ollivier
728d38cbe5 Add implementation of native DrawCheckBox for Mac. (patch #1786282.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 19:10:52 +00:00
Stefan Csomor
c00df9c854 adapting single selection deselect to generic listctrl 1812903
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:48:40 +00:00
Robin Dunn
eb0144e8b1 Use kControlContentIconRef in SetBitmapLabel for wxBORDER_NONE buttons.
Factor out code to create a standard sized bitmap so it can be used in
SetBitmapLabel too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:27:52 +00:00
Stefan Csomor
a0f0ebebb9 making sure we only have the badged exclamation/warning sign for wxICON_EXCLAMATION (sf 1817033)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 12:30:38 +00:00
Stefan Csomor
296faa4b72 offsetting fixed, color handling factored out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:16:07 +00:00
Stefan Csomor
53b6774787 correct scrollbars with empty grow-box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:14:52 +00:00
Stefan Csomor
c4dded970b fixing height for buttons with different variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:13:50 +00:00
Stefan Csomor
b724d57fc7 making sure pdf pages are correctly layouted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:12:25 +00:00
Stefan Csomor
d0a2daec58 flushing corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:11:31 +00:00
Stefan Csomor
9b7384b523 scrolling fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:11:01 +00:00
Paul Cornett
e3800748e4 add wxUSE_MINIFRAME wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:07:29 +00:00
Stefan Csomor
40c5b2dc48 better native type for files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 14:46:03 +00:00
David Elliott
39d095adb5 Add missing wxT().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 04:42:23 +00:00
David Elliott
551896d9da Add wxAddProcessCallback for both wxMac and wxCocoa and use it for wxCocoa.
It can be turned on for wxMac if desired.  See utilsunx.cpp comment.
NOTE: I can't add the symbol to version-script.in because other platforms
have had this symbol even though wxMac/wxCocoa have not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 03:10:31 +00:00
David Elliott
e20d0f2a10 Fix crasher caused by wxProcessTerminationEventHandler::OnTerminate killing
itself inside the context of wxEvtHandler::ProcessPendingEvents which
still needs itself to be valid because it accesses it's m_eventsLocker.

NOTE: This code is no longer used on trunk and hopefully soon won't be
used in 2.8 either, but at least it doesn't crash now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:31:21 +00:00
David Elliott
032f2af9a2 Apply modified patch 1785299 to trunk and 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 21:52:02 +00:00
Stefan Csomor
0f876f047a removing interference between two layering fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 15:29:50 +00:00
Stefan Csomor
b94f04c563 supporting failed data conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 12:01:15 +00:00
Stefan Csomor
9493740d71 compile error in non-quartz builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:40:04 +00:00
Stefan Csomor
9ad88af224 icns support from resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:32:09 +00:00
Stefan Csomor
00ae2ece4a adding PICT support in Quartz - whose native metafile format is PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:30:43 +00:00
Stefan Csomor
308cdd25d5 moving tooltip implementation into private header, allowing for easier reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:27:44 +00:00