Stefan Csomor
|
094898332b
|
drawing code now in common file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 09:54:23 +00:00 |
|
Stefan Csomor
|
f215225dcf
|
replacing RgnHandle with HIShapeRef usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 09:41:40 +00:00 |
|
Stefan Csomor
|
5398a2e050
|
common drawing code for osx-cocoa and osx-carbon, also since 10.5 HIShapeRef is in ApplicationServices, so this can be used for all osx-cocoa builds as native wxRegion implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 09:01:19 +00:00 |
|
Robert Roebling
|
abdb8c1806
|
Fixes #10454, Applied patch for wxDataViewCtrl should not change the selection when clicking the expander. Thanks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 08:48:14 +00:00 |
|
Kevin Ollivier
|
42c2b729e8
|
Remove delegates before releasing the native object, so that we don't have delegate methods getting called during destruction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 05:22:45 +00:00 |
|
Kevin Ollivier
|
0600cf3ae9
|
Do a sanity check to make sure GetWindow() has a valid window, and assert if it doesn't. On OS X Cocoa, try to continue on in release mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 02:21:30 +00:00 |
|
Kevin Ollivier
|
f487501a2c
|
Initial support for EVT_ERASE_BACKGROUND for OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 02:20:03 +00:00 |
|
Francesco Montorsi
|
80255b7eaf
|
fix memory leak; allocate the DC before SetFont() is called on the status bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 00:53:58 +00:00 |
|
Francesco Montorsi
|
0cd159592e
|
save the current status text for each pane inside wxStatusBarPane: native controls now store the (eventually) ellipsized version of the string; remove code for managing the status strings currently inside the [native|generic] control; add ellipsization support under wxMSW; now that all SetFieldsCount() implementation rrely on wxStatusBarBase::SetFieldsCount document how it behaves when adding new panes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-09 00:33:19 +00:00 |
|
Kevin Ollivier
|
ada083260a
|
Stub out GetMatchingPair() for now to allow us to use the generic wxDVC on Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 23:21:22 +00:00 |
|
Kevin Ollivier
|
6e23949a98
|
Crash fix for when a wxNullBitmap is passed in as the bitmap to use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 23:08:20 +00:00 |
|
Kevin Ollivier
|
49decc8f95
|
Header fix for OS X Cocoa build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 23:05:19 +00:00 |
|
Paul Cornett
|
a1c6f06900
|
new wxTaskBarIcon implementation for GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 22:21:24 +00:00 |
|
Paul Cornett
|
c34d2f356b
|
non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 20:54:48 +00:00 |
|
Paul Cornett
|
8aa40b04f8
|
do only what is necessary in SetScrollbars(), let the base class do the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 20:51:44 +00:00 |
|
Francesco Montorsi
|
4c6720f41d
|
do not deselect the item the user has just selected: it just modifies the normal behaviour of the control in an unexpected way (no highlight rectangle, etc) and seems to block any item-specific operation when instead you can double click an item to get more info on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 19:21:30 +00:00 |
|
Francesco Montorsi
|
ba4589db1d
|
optimize rendering code by calling GetClientSize(), GetTextExtent() and CalculateAbsWidth() only when strictly needed; update cache from an OnSize() event handler; fix RTL code: wxDC::DrawText() is RTL-aware itself and doesn't need special calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 19:17:07 +00:00 |
|
Francesco Montorsi
|
91d55088c9
|
revert insert=>append change; only for wxELLIPSIZE_END append() is valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 19:14:56 +00:00 |
|
Stefan Csomor
|
1d61c55432
|
turning on icons for osx-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 18:24:07 +00:00 |
|
Francesco Montorsi
|
78612fa68f
|
use Ellipsize() in wxStatusBarGeneric so that the text is correctly ellipsized when exceeding field width; avoid that text overlaps the size grip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 13:30:40 +00:00 |
|
Francesco Montorsi
|
a78618b062
|
split wxControl::Ellipsize() in two functions for better readability of the code; add support for ellipsization flags which allow to disable special processing of TAB/mnemonics characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 12:56:14 +00:00 |
|
Stefan Csomor
|
1ea5ef0190
|
menu fixes, also fixes #10479
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 11:49:46 +00:00 |
|
Vadim Zeitlin
|
c0c133e13b
|
add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 11:45:59 +00:00 |
|
Stefan Csomor
|
4800ca79ac
|
adding scroll wheel support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 11:35:23 +00:00 |
|
Vadim Zeitlin
|
6fc5f04e9b
|
only do (c) and (C) translation in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 09:47:07 +00:00 |
|
Vadim Zeitlin
|
deb8254ef2
|
use bitmap mask if any in splash screen (closes #10470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-08 09:16:50 +00:00 |
|
Kevin Ollivier
|
e2cb366f61
|
Implement GetDashCount() for Carbon/Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 23:23:18 +00:00 |
|
Kevin Ollivier
|
b916f71245
|
Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 23:20:45 +00:00 |
|
Kevin Ollivier
|
b0b71b31c3
|
Assert if these methods are triggered to alert the user they are not implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 23:19:35 +00:00 |
|
Vadim Zeitlin
|
5bca8be2cf
|
fix (harmless for now) g++ warning about non-virtual dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 23:03:30 +00:00 |
|
Vadim Zeitlin
|
9b11752c4f
|
require semicolon after wxDECLARE/DEFINE_EVENT() (closes #10456)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 18:59:25 +00:00 |
|
Vadim Zeitlin
|
1afe8c8307
|
rename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 15:29:29 +00:00 |
|
Stefan Csomor
|
1e269f30d5
|
OSX currently doesn't expose an OnPaint anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 14:47:55 +00:00 |
|
Francesco Montorsi
|
9a6aafe003
|
no real change: put event handlers together at the end of the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 14:11:33 +00:00 |
|
Jaakko Salli
|
bcf324bebe
|
Eliminated two unneeded arguments from wxPropertyGrid::DoDrawItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 13:38:27 +00:00 |
|
Jaakko Salli
|
94f0292941
|
Fixed and refactored wxPropertyGridManager decsription text box painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 13:35:26 +00:00 |
|
Stefan Csomor
|
4dd9fdf827
|
reworking event handling to redirect to c++ virtual functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 13:25:58 +00:00 |
|
Jaakko Salli
|
58fbf2616f
|
Added workaround for a bug that causes splitters not be drawn correctly if GetUpdateRegion().GetBox() in paint event does not cover the entire grid width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 13:16:36 +00:00 |
|
Stefan Csomor
|
ad7aff71f5
|
correct shortcuts on mac, fixes #10464
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-07 13:07:43 +00:00 |
|
Vadim Zeitlin
|
79cb759dc8
|
remove incorrect cast of wxString to char* (unnecessary and breaks wxUSE_STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-06 21:55:09 +00:00 |
|
Francesco Montorsi
|
56364fa221
|
more user-friendly error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-06 17:03:12 +00:00 |
|
Francesco Montorsi
|
1b942d5f70
|
add code for debugging sizers/window sizes; it may be very useful for other purposes as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-05 17:54:17 +00:00 |
|
Francesco Montorsi
|
e12152104f
|
always use wxSTAY_ON_TOP (closes #10447)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-05 17:46:00 +00:00 |
|
Paul Cornett
|
b666ade784
|
use the right GdkWindow and origin for non-pizza widget with wxClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-05 05:45:40 +00:00 |
|
Vadim Zeitlin
|
2fd35de1c3
|
fix MSVC warning about implicit int to bool conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-04 23:06:29 +00:00 |
|
Vadim Zeitlin
|
5efeac9fd2
|
PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-04 21:52:38 +00:00 |
|
Robert Roebling
|
ff8c74b972
|
Use gtk_range_set_value() to set scrollbar and do that after SetVirtualSize() since the latter can shrink the legal range and gtk_range_set_value() checks for that. It also sends out a value_changed signal which will scroll the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-04 21:28:00 +00:00 |
|
Vadim Zeitlin
|
a830dc4832
|
another compilation fix to switch in DoYield()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-04 21:25:00 +00:00 |
|
Francesco Montorsi
|
731bcffc6a
|
fix no-PCH builds for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-04 21:17:02 +00:00 |
|
Robert Roebling
|
40b849aafe
|
Use wxRound() instead of (int)(my_double + 0.5);
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-04 21:12:16 +00:00 |
|