Vadim Zeitlin
3bfaa5a7e4
add wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK and semi-automatic header resizing support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 12:15:17 +00:00
Vadim Zeitlin
04a33b5031
account for scroll offset correctly in the mouse event handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 11:37:42 +00:00
Vadim Zeitlin
6090efab94
update column highlight when mouse hovers over the control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 11:26:50 +00:00
Vadim Zeitlin
056d5a89ff
correct WXDLLIMPEXP symbols for the event constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 11:20:51 +00:00
Robert Roebling
7b2575e2c4
Ticket #10245 , UTF-8 font face name of GTK 2 font dialog box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 10:36:46 +00:00
Paul Cornett
3630713bd0
restore clearing of clipped mask, turns out it is needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 08:58:13 +00:00
Vadim Zeitlin
324dc1f2d8
correct the check added in r57175 to use dynamically computed numbers of rows/columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 08:39:13 +00:00
Vadim Zeitlin
0c02fc7765
undo accidental change to always use generic version in r57178
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 07:52:19 +00:00
Vadim Zeitlin
fa3d4aaf0f
implement click events in wxHeaderCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 00:57:53 +00:00
Vadim Zeitlin
ef52f19e6a
check index validity in AddGrowable{Row,Col}()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 23:33:46 +00:00
Vadim Zeitlin
9f68fe76c9
define SetAsSortKey/IsSortKey() in wxMac wxDataViewColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 21:15:20 +00:00
Vadim Zeitlin
5829b3034b
no changes, just removed whitespace and perfectly useless "/* if */" and the incredible "// variable definition and initialization" and wx version checks unnecessary inside wx itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 21:05:30 +00:00
Paul Cornett
b63dc1c140
make sure timer events will trigger idle processing, #10251
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 18:23:28 +00:00
Vadim Zeitlin
140a119ad2
restore sorting functionality broken by r57161
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:16:21 +00:00
Vadim Zeitlin
0c5209a808
wxDataViewColumn doesn't need to have wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:07:54 +00:00
Vadim Zeitlin
835d0d55c1
compilation fix after r57161
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:06:34 +00:00
Vadim Zeitlin
3cbd3136f9
removed accidentally left in in r57161 pure virtual function marker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:04:48 +00:00
Vadim Zeitlin
a7d403698f
made wxHeaderColumnBase dtor virtual to avoid gcc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:03:50 +00:00
Vadim Zeitlin
40dc2ae656
update the generic wxHeaderCtrl implementation after r57161
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:00:10 +00:00
Vadim Zeitlin
a1d4adc5ce
use wxHeaderColumnSimple instead of wxHeaderColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 15:58:59 +00:00
Vadim Zeitlin
e2bfe6731e
- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
...
number of columns in it, it turns out that getting column information from
the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
events are broken right now in it as they haven't been implemented by
wxHeaderCtrl yet, this will be fixed a.s.a.p.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:47:55 +00:00
Vadim Zeitlin
bc0289bf5e
no changes, just remove trailing whitespace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:19:18 +00:00
Francesco Montorsi
2859935bb1
document GetPickerCtrl() method and provide an example of how to use it to change the default 'Browse' label for wxFilePickerCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:50:12 +00:00
Francesco Montorsi
c933f8f85b
formatting change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:48:36 +00:00
Francesco Montorsi
61babb3c30
add a link to the page of the GTK+ manual stock items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:48:06 +00:00
Vadim Zeitlin
4e021c31d0
enable autobrief comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:16:32 +00:00
Paul Cornett
3d5b482773
remove redundant clearing of clipped mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 05:51:42 +00:00
Paul Cornett
6226d1e97b
fix bitmap position with RTL and non-default scale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 05:50:11 +00:00
Jaakko Salli
3d1706f8ee
Fixed incorrect background colour that wxStaticTexts in description box sometimes got
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 19:01:32 +00:00
Francesco Montorsi
3e0e389578
added a @todo about references to old wx functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 16:45:51 +00:00
Francesco Montorsi
727aa9062b
moved many things from wxString reference page to the wxString overview; updated some old/incoherent informations; added some DIA-drawn graphs showing UTF8/UCS2 different representation used by wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 16:24:52 +00:00
Vadim Zeitlin
e215c9959c
suppress (harmless) unused parameter warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:48:25 +00:00
Vadim Zeitlin
b63f9a3330
generic implementation of wxHeaderCtrl API so far
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:44:54 +00:00
Vadim Zeitlin
d8fc3398ac
move ScrollWindow() implementation to the base class and call private DoScrollHorz() from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:43:37 +00:00
Vadim Zeitlin
a3e0efb6a4
override GetDefaultBorder() to not use border by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:34:29 +00:00
Vadim Zeitlin
f24f657913
emulate scrolling in wxMSW header control; document the need to call ScrollWindow() when using it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:11:27 +00:00
Vadim Zeitlin
a000920547
add Show/HideColumn() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:50:30 +00:00
Vadim Zeitlin
78fd3d12bc
add IsShown() accessor which is sometimes more convenient than IsHidden()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:49:34 +00:00
Francesco Montorsi
4a6665c6eb
document wxLogLevel, wxTraceMask antypes and wxLogLevelValues enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:06:09 +00:00
Francesco Montorsi
491c42d00f
fix description of wxconsole template; add description for wxgui template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 17:25:13 +00:00
Vadim Zeitlin
1e417065df
no changes, just remove typos in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 10:15:00 +00:00
Robert Roebling
183b82cc61
Use gtk_text_buffer_select_range for selecting programmatically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 10:09:47 +00:00
Paul Cornett
fb14d960c3
use simpler method to draw bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 07:47:51 +00:00
Francesco Montorsi
77ef61f539
add definitions of some Unicode terms (code point/unit, glyph, plane); link two images to help understanding differences; minor other formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 01:01:12 +00:00
Francesco Montorsi
d5742c23be
small refinements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 00:57:05 +00:00
Vadim Zeitlin
bd44dee698
add size parameter to the generic wxFileDialog ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 23:14:00 +00:00
Francesco Montorsi
1707da0c37
repair the example code; get rid of useless wxT() from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 21:50:52 +00:00
Francesco Montorsi
8b6264b43e
add a 'Paint background' check menu item in the MyImageFrame class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 20:49:30 +00:00
Francesco Montorsi
d4bb7c9334
document wxWindowID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 20:42:25 +00:00
Francesco Montorsi
c0b25bb258
call Fit() when updating the message label to adapt to longer (or much shorter) labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 15:37:20 +00:00